Bug 1296739: Change the protected to public, clang complaining. r?dvander
MozReview-Commit-ID: IGagSOWI0PQ
--- a/gfx/thebes/gfxPlatform.h
+++ b/gfx/thebes/gfxPlatform.h
@@ -667,16 +667,18 @@ public:
* Check the blocklist for a feature. Returns false if the feature is blocked
* with an appropriate message and failure ID.
* */
static bool IsGfxInfoStatusOkay(int32_t aFeature, nsCString* aOutMessage,
nsCString& aFailureId);
const gfxSkipChars& EmptySkipChars() const { return kEmptySkipChars; }
+ static mozilla::gfx::DeviceInitData& GetParentDevicePrefs();
+
protected:
gfxPlatform();
virtual ~gfxPlatform();
virtual void InitAcceleration();
/**
* Initialized hardware vsync based on each platform.
@@ -732,18 +734,16 @@ protected:
/**
* Decode the backend enumberation from a string.
*/
static mozilla::gfx::BackendType BackendTypeForName(const nsCString& aName);
static already_AddRefed<mozilla::gfx::ScaledFont>
GetScaledFontForFontWithCairoSkia(mozilla::gfx::DrawTarget* aTarget, gfxFont* aFont);
- static mozilla::gfx::DeviceInitData& GetParentDevicePrefs();
-
int8_t mAllowDownloadableFonts;
int8_t mGraphiteShapingEnabled;
int8_t mOpenTypeSVGEnabled;
int8_t mBidiNumeralOption;
// whether to always search font cmaps globally
// when doing system font fallback