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

Unified Diff: cc/resources/drawing_display_item.cc

Issue 795823003: API migration: picture.draw -> picture.playback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android call-site 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 | « android_webview/native/aw_picture.cc ('k') | cc/resources/picture.cc » ('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 ecf7a75486c7e91c2bb47261ca70eea8c4c8aa86..4efe9f32d28e92b98b649bfa8365425c71fede1c 100644
--- a/cc/resources/drawing_display_item.cc
+++ b/cc/resources/drawing_display_item.cc
@@ -24,7 +24,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 | « android_webview/native/aw_picture.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698