]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix cpplint warnings
authorCheng Zhao <zcbenz@gmail.com>
Wed, 11 Feb 2015 13:59:08 +0000 (21:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 12 Feb 2015 02:45:04 +0000 (10:45 +0800)
atom/common/api/atom_api_native_image.cc
atom/common/native_mate_converters/image_converter.h

index 84208e9ab62eae237fd8ac641500e07959d75dd1..32b8823fc88cc7acbe96a80e1deb4b4b85800ee2 100644 (file)
@@ -4,11 +4,13 @@
 
 #include "atom/common/api/atom_api_native_image.h"
 
+#include <string>
+#include <vector>
+
 #include "atom/common/native_mate_converters/file_path_converter.h"
 #include "atom/common/native_mate_converters/gfx_converter.h"
 #include "base/files/file_util.h"
 #include "base/strings/string_util.h"
-#include "native_mate/constructor.h"
 #include "native_mate/dictionary.h"
 #include "native_mate/object_template_builder.h"
 #include "ui/base/layout.h"
index b19af32b4dea5bec48611e527f9c0a9b109d28d5..1b1a12c3ae02d6e3aad66bb5bd04e0da39694efb 100644 (file)
@@ -26,7 +26,8 @@ struct Converter<gfx::Image> {
   static bool FromV8(v8::Isolate* isolate,
                      v8::Handle<v8::Value> val,
                      gfx::Image* out);
-  static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, const gfx::Image& val);
+  static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
+                                    const gfx::Image& val);
 };
 
 }  // namespace mate