aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkFlattenable.h2
-rw-r--r--include/core/SkPixelRef.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkFlattenable.h b/include/core/SkFlattenable.h
index 99127afab7..a66638eb4e 100644
--- a/include/core/SkFlattenable.h
+++ b/include/core/SkFlattenable.h
@@ -100,6 +100,8 @@ private:
#if !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
static void InitializeFlattenables();
#endif
+
+ friend class SkGraphics;
};
// helpers for matrix and region
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