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

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

Issue 2447623002: Remove ImageObserver::didDraw() (Closed)
Patch Set: Rebawse Created 4 years, 1 month 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/PlaceholderImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp b/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
index 44dfa15289062ce9951c478761a4dfc7f7d9c65e..a2df199d0260d012e7cf1726e4bf7c21a1098531 100644
--- a/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/PlaceholderImage.cpp
@@ -63,23 +63,6 @@ void PlaceholderImage::draw(SkCanvas* canvas,
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(kFillColor);
canvas->drawRect(destRect, paint);
-
- if (getImageObserver())
- getImageObserver()->didDraw(this);
-}
-
-void PlaceholderImage::drawPattern(GraphicsContext& destContext,
- const FloatRect& srcRect,
- const FloatSize& scale,
- const FloatPoint& phase,
- SkBlendMode compositeOp,
- const FloatRect& destRect,
- const FloatSize& repeatSpacing) {
- Image::drawPattern(destContext, srcRect, scale, phase, compositeOp, destRect,
- repeatSpacing);
-
- if (getImageObserver())
- getImageObserver()->didDraw(this);
}
void PlaceholderImage::destroyDecodedData() {

Powered by Google App Engine
This is Rietveld 408576698