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

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

Issue 2488163002: Include paint of background (tiled) image in FCP (Closed)
Patch Set: add another setImagePainted 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
index 74e23a191be32c36389ffb1de11941594fa3f7ec..bac530d4d83d14566d082b7981998d5b0f5cfa26 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp
@@ -900,6 +900,7 @@ void GraphicsContext::drawTiledImage(Image* image,
if (contextDisabled() || !image)
return;
image->drawTiled(*this, destRect, srcPoint, tileSize, op, repeatSpacing);
+ m_paintController.setImagePainted();
}
void GraphicsContext::drawTiledImage(Image* image,
@@ -919,6 +920,7 @@ void GraphicsContext::drawTiledImage(Image* image,
}
image->drawTiled(*this, dest, srcRect, tileScaleFactor, hRule, vRule, op);
+ m_paintController.setImagePainted();
}
void GraphicsContext::drawOval(const SkRect& oval, const SkPaint& paint) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698