summaryrefslogtreecommitdiffstats
path: root/cc/resources
diff options
context:
space:
mode:
authorrobertphillips@google.com <robertphillips@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 16:35:39 +0000
committerrobertphillips@google.com <robertphillips@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 16:35:39 +0000
commit4f856b37620a6950793761f4587abd5b50205114 (patch)
tree87cfdd8e10972dfbcc1ac59fd46cf6ad375e82c9 /cc/resources
parent19c4c668950c49fa3b81c2eaa6bdbbda4ee21791 (diff)
downloadchromium_src-4f856b37620a6950793761f4587abd5b50205114.zip
chromium_src-4f856b37620a6950793761f4587abd5b50205114.tar.gz
chromium_src-4f856b37620a6950793761f4587abd5b50205114.tar.bz2
Switch Chromium to new Skia SkCanvas::drawPicture method
As of Skia 9b14f26d (Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) - https://codereview.chromium.org/313613004) SkCanvas::drawPicture has an alternate signature. The old entry point is deprecated. Note: this patch cannot be landed until the corresponding Skia change is rolled into Chromium & Blink. enne: cc fmalita: skia Review URL: https://codereview.chromium.org/315963003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources')
-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