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
This commit is contained in:
parent
1eb525e08b
commit
9d0c6ecb84
@ -100,6 +100,8 @@ private:
|
||||
#if !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
|
||||
static void InitializeFlattenables();
|
||||
#endif
|
||||
|
||||
friend class SkGraphics;
|
||||
};
|
||||
|
||||
// helpers for matrix and region
|
||||
|
@ -221,6 +221,8 @@ private:
|
||||
|
||||
// can go from false to true, but never from true to false
|
||||
bool fIsImmutable;
|
||||
|
||||
friend class SkGraphics;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "SkMatrix.h"
|
||||
#include "SkPath.h"
|
||||
#include "SkPathEffect.h"
|
||||
#include "SkPixelRef.h"
|
||||
#include "SkRandom.h"
|
||||
#include "SkRefCnt.h"
|
||||
#include "SkScalerContext.h"
|
||||
|
Loading…
Reference in New Issue
Block a user