diff options
author | 2016-11-09 13:59:58 -0500 | |
---|---|---|
committer | 2016-11-09 19:40:06 +0000 | |
commit | 824075071885b6b741c141cbe2134d8345d34589 (patch) | |
tree | 828b9fd105e92a6ff21b0dc942da6c015ea8ac73 /public.bzl | |
parent | c78eff97549e8e346394d3e228395ceb8a467b35 (diff) |
Change SkCanvas to *not* inherit from SkRefCnt
Definitely tricky for classes like SkNWayCanvas, where the caller (today)
need not pay attention to ownership of the canvases it gave the NWay
(after this CL, the caller *must* managed ownership)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4441
DOCS_PREVIEW= https://skia.org/?cl=4441
Change-Id: Ib1ac07a3cdf0686d78e7aaa4735d45cc90bea081
Reviewed-on: https://skia-review.googlesource.com/4441
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'public.bzl')
-rw-r--r-- | public.bzl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public.bzl b/public.bzl index de3d6f2948..734aaafe87 100644 --- a/public.bzl +++ b/public.bzl @@ -600,6 +600,7 @@ DEFINES_ALL = [ "GOOGLE3", # Staging flags for API changes "SK_SUPPORT_LEGACY_ACCESSBITMAP", + "SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT", "SK_SUPPORT_LEGACY_CLIP_REGIONOPS", ] |