From: Cheng Zhao Date: Wed, 11 Feb 2015 13:59:08 +0000 (+0800) Subject: Fix cpplint warnings X-Git-Tag: v0.21.3~11^2~11 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2ca6be69e21b26b6796721da35dc31175d2e8529;p=electron.git Fix cpplint warnings --- diff --git a/atom/common/api/atom_api_native_image.cc b/atom/common/api/atom_api_native_image.cc index 84208e9a..32b8823f 100644 --- a/atom/common/api/atom_api_native_image.cc +++ b/atom/common/api/atom_api_native_image.cc @@ -4,11 +4,13 @@ #include "atom/common/api/atom_api_native_image.h" +#include +#include + #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" diff --git a/atom/common/native_mate_converters/image_converter.h b/atom/common/native_mate_converters/image_converter.h index b19af32b..1b1a12c3 100644 --- a/atom/common/native_mate_converters/image_converter.h +++ b/atom/common/native_mate_converters/image_converter.h @@ -26,7 +26,8 @@ struct Converter { static bool FromV8(v8::Isolate* isolate, v8::Handle val, gfx::Image* out); - static v8::Handle ToV8(v8::Isolate* isolate, const gfx::Image& val); + static v8::Handle ToV8(v8::Isolate* isolate, + const gfx::Image& val); }; } // namespace mate