From 2ca6be69e21b26b6796721da35dc31175d2e8529 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 11 Feb 2015 21:59:08 +0800 Subject: [PATCH] Fix cpplint warnings --- atom/common/api/atom_api_native_image.cc | 4 +++- atom/common/native_mate_converters/image_converter.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/atom/common/api/atom_api_native_image.cc b/atom/common/api/atom_api_native_image.cc index 84208e9ab62..32b8823fc88 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 b19af32b4de..1b1a12c3ae0 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