diff options
author | robertphillips <robertphillips@google.com> | 2016-04-21 15:22:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-21 15:22:14 -0700 |
commit | cb61a6452fbf9b147dc9d3f31bf520efb0e2c7fd (patch) | |
tree | 4a9046846b5c04e2e6ea5fb87e6640c553a714ab /include | |
parent | b0d4352ca610654f98c3c4ebc67ed9ad9c8c8493 (diff) |
Add compile guard for SkCanvas::LayerIter
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1911893002
Review URL: https://codereview.chromium.org/1911893002
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkCanvas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index e7b75713f6..4f15af8647 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1220,7 +1220,9 @@ public: /////////////////////////////////////////////////////////////////////////// +#ifndef SK_SUPPORT_LEGACY_LAYERITER protected: +#endif /** After calling saveLayer(), there can be any number of devices that make up the top-most drawing area. LayerIter can be used to iterate through those devices. Note that the iterator is only valid until the next API |