Index: include/core/SkFlattenable.h |
diff --git a/include/core/SkFlattenable.h b/include/core/SkFlattenable.h |
index 208b71ef26a20491aba2353b1ff9576d15c804b9..66a84f3d29e549097a0d43cd557cf9c4ce7783be 100644 |
--- a/include/core/SkFlattenable.h |
+++ b/include/core/SkFlattenable.h |
@@ -13,6 +13,8 @@ |
class SkReadBuffer; |
class SkWriteBuffer; |
+class SkPrivateEffectInitializer; |
+ |
/* |
* Flattening is straight-forward: |
* 1. call getFactory() so we have a function-ptr to recreate the subclass |
@@ -47,7 +49,7 @@ class SkWriteBuffer; |
#define SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(flattenable) \ |
private: \ |
static SkFlattenable* CreateProc(SkReadBuffer&); \ |
- friend class SkPrivateEffectInitializer; \ |
+ friend class ::SkPrivateEffectInitializer; \ |
public: \ |
Factory getFactory() const override { return CreateProc; } |