summaryrefslogtreecommitdiffstats
path: root/cc/resources/skpicture_content_layer_updater.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/skpicture_content_layer_updater.cc')
-rw-r--r--cc/resources/skpicture_content_layer_updater.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc
index 0f9f22e..eb12385 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