diff --git a/atom/common/api/atom_api_native_image.cc b/atom/common/api/atom_api_native_image.cc index 79ec0c4b60c5..4dfca9ff36bc 100644 --- a/atom/common/api/atom_api_native_image.cc +++ b/atom/common/api/atom_api_native_image.cc @@ -616,7 +616,8 @@ void Initialize(v8::Local exports, v8::Local unused, dict.SetMethod("createFromBuffer", &atom::api::NativeImage::CreateFromBuffer); dict.SetMethod("createFromDataURL", &atom::api::NativeImage::CreateFromDataURL); - dict.SetMethod("createFromNamedImage", &atom::api::NativeImage::CreateFromNamedImage); + dict.SetMethod("createFromNamedImage" + &atom::api::NativeImage::CreateFromNamedImage); } } // namespace