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

Unified Diff: chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc

Issue 931993002: Make image_decoder a Leaky LazyInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a few comments Created 5 years, 9 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/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
diff --git a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
index 6468b8a60906abd39f61a4c7eb55aef650506e13..73513c87ba68e4a9ee3bc3bb1e2aa8c99aecbb1c 100644
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc
@@ -78,14 +78,13 @@ class BitmapFetcherServiceTest : public testing::Test,
image.allocN32Pixels(2, 2);
image.eraseColor(SK_ColorGREEN);
- const_cast<chrome::BitmapFetcher*>(fetcher)->OnImageDecoded(NULL, image);
+ const_cast<chrome::BitmapFetcher*>(fetcher)->OnImageDecoded(image);
}
void FailFetch(const GURL& url) {
const chrome::BitmapFetcher* fetcher = service_->FindFetcherForUrl(url);
ASSERT_TRUE(NULL != fetcher);
- const_cast<chrome::BitmapFetcher*>(fetcher)
- ->OnImageDecoded(NULL, SkBitmap());
+ const_cast<chrome::BitmapFetcher*>(fetcher)->OnImageDecoded(SkBitmap());
}
protected:
« no previous file with comments | « chrome/browser/bitmap_fetcher/bitmap_fetcher_browsertest.cc ('k') | chrome/browser/chromeos/app_mode/kiosk_app_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698