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:
caryclark@google.com 2011-12-20 20:26:56 +00:00
parent 1eb525e08b
commit 9d0c6ecb84
3 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,8 @@ private:
#if !SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
static void InitializeFlattenables();
#endif
friend class SkGraphics;
};
// helpers for matrix and region

View File

@ -221,6 +221,8 @@ private:
// can go from false to true, but never from true to false
bool fIsImmutable;
friend class SkGraphics;
};
#endif

View File

@ -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"