Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE

This commit is contained in:
Wes Kocher 2015-01-07 16:54:14 -08:00
parent 00b5aa1577
commit e0a70c89f3
2 changed files with 0 additions and 19 deletions

View File

@ -1181,8 +1181,6 @@ public:
*/
static TemporaryRef<DrawTarget> CreateTiledDrawTarget(const TileSet& aTileSet);
static bool DoesBackendSupportDataDrawtarget(BackendType aType);
#ifdef XP_MACOSX
static TemporaryRef<DrawTarget> CreateDrawTargetForCairoCGContext(CGContextRef cg, const IntSize& aSize);
static TemporaryRef<GlyphRenderingOptions>

View File

@ -430,23 +430,6 @@ Factory::CreateTiledDrawTarget(const TileSet& aTileSet)
return dt.forget();
}
bool
Factory::DoesBackendSupportDataDrawtarget(BackendType aType)
{
switch (aType) {
case BackendType::DIRECT2D:
case BackendType::DIRECT2D1_1:
case BackendType::RECORDING:
case BackendType::NONE:
case BackendType::COREGRAPHICS_ACCELERATED:
return false;
case BackendType::CAIRO:
case BackendType::COREGRAPHICS:
case BackendType::SKIA:
return true;
}
}
TemporaryRef<ScaledFont>
Factory::CreateScaledFontForNativeFont(const NativeFont &aNativeFont, Float aSize)
{