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