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

Unified Diff: cc/resources/drawing_display_item.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/resources/eviction_tile_priority_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/drawing_display_item.cc
diff --git a/cc/resources/drawing_display_item.cc b/cc/resources/drawing_display_item.cc
index 9466d5cf648491d7a7b048f5b0125828473a3dd6..7eb7573163473e5f0539721aeb170713fe5c7fbc 100644
--- a/cc/resources/drawing_display_item.cc
+++ b/cc/resources/drawing_display_item.cc
@@ -25,7 +25,7 @@ void DrawingDisplayItem::Raster(SkCanvas* canvas,
canvas->save();
canvas->translate(location_.x(), location_.y());
if (callback)
- picture_->draw(canvas, callback);
+ picture_->playback(canvas, callback);
else
canvas->drawPicture(picture_.get());
canvas->restore();
« no previous file with comments | « cc/quads/draw_quad_unittest.cc ('k') | cc/resources/eviction_tile_priority_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698