aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPixelRef.h
diff options
context:
space:
mode:
authorGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-20 20:26:56 +0000
committerGravatar caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-20 20:26:56 +0000
commit9d0c6ecb8440e8e546881a4ff850eb6333f24541 (patch)
tree9a8963606750a0c27ad825c8f5b26547b50bc8f1 /include/core/SkPixelRef.h
parent1eb525e08b6395f7a0c8d0bc62712daa1620a822 (diff)
fix 'no static globals' for chromium
M include/core/SkFlattenable.h M include/core/SkPixelRef.h M src/core/SkGraphics.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2908 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPixelRef.h')
-rw-r--r--include/core/SkPixelRef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index 3a64393eb0..e247479ad5 100644
--- a/include/core/SkPixelRef.h
+++ b/include/core/SkPixelRef.h
@@ -221,6 +221,8 @@ private:
// can go from false to true, but never from true to false
bool fIsImmutable;
+
+ friend class SkGraphics;
};
#endif