Index: content/browser/android/system_ui_resource_manager_impl.cc |
diff --git a/content/browser/android/system_ui_resource_manager_impl.cc b/content/browser/android/system_ui_resource_manager_impl.cc |
index 81f12fc3a70d5d0abde50158258001d4343c7564..dfbbc5aeb6d81958e8838162d8fa77d036559b93 100644 |
--- a/content/browser/android/system_ui_resource_manager_impl.cc |
+++ b/content/browser/android/system_ui_resource_manager_impl.cc |
@@ -40,11 +40,7 @@ SkBitmap CreateOverscrollGlowLBitmap(const gfx::Size& screen_size) { |
SkRect arc_rect = SkRect::MakeXYWH( |
-arc_width / 2.f, -arc_width - y, arc_width * 2.f, arc_width * 2.f); |
SkBitmap glow_bitmap; |
- if (!glow_bitmap.allocPixels( |
- SkImageInfo::MakeA8(bounds.width(), bounds.height()))) { |
- LOG(FATAL) << " Failed to allocate bitmap of size " << bounds.width() << "x" |
- << bounds.height(); |
- } |
+ glow_bitmap.allocPixels(SkImageInfo::MakeA8(bounds.width(), bounds.height())); |
glow_bitmap.eraseColor(SK_ColorTRANSPARENT); |
SkCanvas canvas(glow_bitmap); |