Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm

Issue 556463002: Revert of tryAllocPixels returns bool, allocPixels requires success (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
diff --git a/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm b/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
index 4f7cc19810e18dfff40f2e404540cfdbf0b3e332..7138af8119e95e5e1d3e121802327b426e699ed0 100644
--- a/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
+++ b/chrome/browser/ui/cocoa/table_row_nsimage_cache_unittest.mm
@@ -31,7 +31,7 @@
SkBitmap MakeImage(int width, int height) {
SkBitmap image;
- image.allocN32Pixels(width, height);
+ EXPECT_TRUE(image.allocN32Pixels(width, height));
image.eraseARGB(255, 255, 0, 0);
return image;
}
« no previous file with comments | « chrome/browser/ui/app_list/fast_show_pickler.cc ('k') | content/browser/android/system_ui_resource_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698