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

Unified Diff: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.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/StaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
index b2b642d21862fee4ab4df96881d19b0daaea1007..c6074ed02101bbf842ec037afa894edfbeeaa198 100644
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
@@ -59,9 +59,6 @@ void StaticBitmapImage::draw(SkCanvas* canvas,
canvas->drawImageRect(m_image.get(), adjustedSrcRect, dstRect, &paint,
WebCoreClampingModeToSkiaRectConstraint(clampMode));
-
- if (ImageObserver* observer = getImageObserver())
- observer->didDraw(this);
}
sk_sp<SkImage> StaticBitmapImage::imageForCurrentFrame() {

Powered by Google App Engine
This is Rietveld 408576698