aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBitmapDevice.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-07-10 14:10:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-10 14:10:58 -0700
commite372e78223a8ce916d276d6e0420d552fb0267e9 (patch)
tree3c99478ae4c10a5de482c0ffa07ff6b65a7b2bca /src/core/SkBitmapDevice.cpp
parent53d435990bdb4d14df78013da45a9364d0287ebe (diff)
Add alternate SkPicture::clone
This adds an alternate version of SkPicture::clone for two reasons: 1) Chromium uses the SkPicture copy constructor to unpack the pictures from the old-style clone interface (and I would like to remove the copy ctor) 2) This is part of the long term plan to wean Chrome off of cloning. Once pictures are thread safe we will switch the new SkPicture::clone call to just return 'this'. From there it is a small step to removing clone entirely. Note that the two versions of clone() is temporary. Once this is landed (and rolled) I will land a Chrome-side patch to remove their use of the old interface (Use new SkPicture::clone interface - https://codereview.chromium.org/380323002/) R=mtklein@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/381193002
Diffstat (limited to 'src/core/SkBitmapDevice.cpp')
0 files changed, 0 insertions, 0 deletions