aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkXfermode.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-04 16:52:55 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-04 16:52:55 +0000
commit86490573b5cba554a27637e22485455a7b133de7 (patch)
tree18d87c019a81068b905ececd39019fa47f49e1a5 /include/core/SkXfermode.h
parent5dbb149fda134941e5d168790127caf294d322e2 (diff)
commit to xfermode objects being immutable
BUG= R=djsollen@google.com, mtklein@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/25968004 git-svn-id: http://skia.googlecode.com/svn/trunk@11614 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkXfermode.h')
-rw-r--r--include/core/SkXfermode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index ef00f71b75..04f3bfe5b6 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -237,6 +237,10 @@ private:
enum {
kModeCount = kLastMode + 1
};
+
+ friend class SkGraphics;
+ static void Term();
+
typedef SkFlattenable INHERITED;
};