Remove NativeImage.toDataUrl
authorCheng Zhao <zcbenz@gmail.com>
Tue, 3 May 2016 00:10:31 +0000 (09:10 +0900)
committerKevin Sawicki <kevinsawicki@gmail.com>
Fri, 6 May 2016 17:12:56 +0000 (10:12 -0700)
atom/common/api/atom_api_native_image.cc

index 1c90fe7080fbd9ec1c0a4b928a84424203b4c436..e440f9c518bd531d9c241f7f6b611c11199fe5fa 100644 (file)
@@ -318,7 +318,6 @@ void NativeImage::BuildPrototype(
       .SetMethod("toJpeg", &NativeImage::ToJPEG)
       .SetMethod("getNativeHandle", &NativeImage::GetNativeHandle)
       .SetMethod("toDataURL", &NativeImage::ToDataURL)
-      .SetMethod("toDataUrl", &NativeImage::ToDataURL)  // deprecated.
       .SetMethod("isEmpty", &NativeImage::IsEmpty)
       .SetMethod("getSize", &NativeImage::GetSize)
       .SetMethod("setTemplateImage", &NativeImage::SetTemplateImage)