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

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

Issue 545513002: 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 7138af8119e95e5e1d3e121802327b426e699ed0..4f7cc19810e18dfff40f2e404540cfdbf0b3e332 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 @@ class TestTable : public TableRowNSImageCache::Table {
SkBitmap MakeImage(int width, int height) {
SkBitmap image;
- EXPECT_TRUE(image.allocN32Pixels(width, height));
+ image.allocN32Pixels(width, height);
image.eraseARGB(255, 255, 0, 0);
return image;
}

Powered by Google App Engine
This is Rietveld 408576698