Index: third_party/WebKit/Source/platform/graphics/Image.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp |
index 232adc4285742d71c42c496e9e7a48d488ed4fdc..bb6b7ca7ced55ec6d5547fbcb473086d0f9979db 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Image.cpp |
@@ -58,7 +58,7 @@ Image::~Image() {} |
Image* Image::NullImage() { |
DCHECK(IsMainThread()); |
- DEFINE_STATIC_REF(Image, null_image, (BitmapImage::Create())); |
+ DEFINE_STATIC_REF(Image, null_image, (BitmapImage::CreateGlobal())); |
return null_image; |
} |
@@ -67,7 +67,7 @@ PassRefPtr<Image> Image::LoadPlatformResource(const char* name) { |
if (resource.IsEmpty()) |
return Image::NullImage(); |
- RefPtr<Image> image = BitmapImage::Create(); |
+ RefPtr<Image> image = BitmapImage::CreateGlobal(); |
image->SetData(resource, true); |
return image.Release(); |
} |