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
This commit is contained in:
parent
b0d4352ca6
commit
cb61a6452f
@ -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
|
||||
|
@ -550,6 +550,7 @@ DEFINES_ALL = [
|
||||
"SK_SUPPORT_LEGACY_COLORFILTER_PTR",
|
||||
"SK_SUPPORT_LEGACY_CREATESHADER_PTR",
|
||||
"SK_SUPPORT_LEGACY_IMAGEFILTER_PTR",
|
||||
"SK_SUPPORT_LEGACY_LAYERITER",
|
||||
"SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR",
|
||||
"SK_SUPPORT_LEGACY_NEW_SURFACE_API",
|
||||
"SK_SUPPORT_LEGACY_PATHEFFECT_PTR",
|
||||
|
Loading…
Reference in New Issue
Block a user