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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp

Issue 2447623002: Remove ImageObserver::didDraw() (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
index 82cda2f68e33297f32c55fb6a27f8ab50d0f12c1..fd2b796213f3b08219cbb4a8363d292778a8e64a 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
@@ -290,9 +290,6 @@ void BitmapImage::draw(
if (image->isLazyGenerated())
PlatformInstrumentation::didDrawLazyPixelRef(image->uniqueID());
- if (ImageObserver* observer = getImageObserver())
- observer->didDraw(this);
-
startAnimation();
}

Powered by Google App Engine
This is Rietveld 408576698