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

Unified Diff: cc/picture.cc

Issue 11466032: cc: Fix impl-side painting rasterization at >1 contents scales (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | cc/picture_pile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture.cc
diff --git a/cc/picture.cc b/cc/picture.cc
index 47d1b23d59d04e808837d423d7a9fdccaf0fd2b2..9ff58454889c5d237690cdd84552677adf8df938 100644
--- a/cc/picture.cc
+++ b/cc/picture.cc
@@ -62,8 +62,8 @@ void Picture::Record(ContentLayerClient* painter,
layer_rect_.y(),
layer_rect_.width(),
layer_rect_.height());
- canvas->drawRect(layer_skrect, paint);
canvas->clipRect(layer_skrect);
+ canvas->drawRect(layer_skrect, paint);
gfx::RectF opaque_layer_rect;
base::TimeTicks beginPaintTime = base::TimeTicks::Now();
« no previous file with comments | « no previous file | cc/picture_pile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698