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

Unified Diff: cc/resources/skpicture_content_layer_updater.cc

Issue 315963003: Switch Chromium to new Skia SkCanvas::drawPicture method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address code review comment (fix benchmasking_canvas override) Created 6 years, 6 months 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 | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/skpicture_content_layer_updater.cc
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc
index 0f9f22e56d654a41902ba3c3adc311c9d2af28c4..eb12385f4607349bd123609bf3543e2162fa602c 100644
--- a/cc/resources/skpicture_content_layer_updater.cc
+++ b/cc/resources/skpicture_content_layer_updater.cc
@@ -50,7 +50,7 @@ void SkPictureContentLayerUpdater::PrepareToUpdate(
void SkPictureContentLayerUpdater::DrawPicture(SkCanvas* canvas) {
TRACE_EVENT0("cc", "SkPictureContentLayerUpdater::DrawPicture");
if (picture_)
- canvas->drawPicture(*picture_);
+ canvas->drawPicture(picture_.get());
}
} // namespace cc
« no previous file with comments | « no previous file | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698