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

Unified Diff: Source/platform/graphics/ImageBuffer.cpp

Issue 799103002: Fix display list canvas not rendering correctly on high dpi displays (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update Created 6 years 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: Source/platform/graphics/ImageBuffer.cpp
diff --git a/Source/platform/graphics/ImageBuffer.cpp b/Source/platform/graphics/ImageBuffer.cpp
index 384d3b15d003b668f120d8c0366424edd83989b2..0208cd84d96c0704046c81bd9d415b0ede452801 100644
--- a/Source/platform/graphics/ImageBuffer.cpp
+++ b/Source/platform/graphics/ImageBuffer.cpp
@@ -267,7 +267,7 @@ void ImageBuffer::draw(GraphicsContext* context, const FloatRect& destRect, cons
FloatRect srcRect = srcPtr ? *srcPtr : FloatRect(FloatPoint(), size());
RefPtr<SkPicture> picture = m_surface->getPicture();
Stephen White 2014/12/12 22:14:12 IWBN if the SkPicture-related stuff could all live
Justin Novosad 2014/12/12 22:31:51 Acknowledged.
if (picture) {
- context->drawPicture(picture.get(), destRect, srcRect, op, blendMode);
+ context->compositePicture(picture.get(), destRect, srcRect, op, blendMode);
return;
}
« Source/platform/graphics/GraphicsContext.cpp ('K') | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698