Index: content/common/cursors/webcursor.cc |
diff --git a/content/common/cursors/webcursor.cc b/content/common/cursors/webcursor.cc |
index 85721fdd0e2bae52ef010ff19ae60df6eb764d36..e9e27f948d235321beff71061e2d0bd575171be1 100644 |
--- a/content/common/cursors/webcursor.cc |
+++ b/content/common/cursors/webcursor.cc |
@@ -243,7 +243,7 @@ |
if (custom_data_.empty()) |
return; |
- if (!image->tryAllocN32Pixels(custom_size_.width(), custom_size_.height())) |
+ if (!image->allocN32Pixels(custom_size_.width(), custom_size_.height())) |
return; |
memcpy(image->getPixels(), &custom_data_[0], custom_data_.size()); |
} |