Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 3031f985ed373fb3b819ed127fa83b6332bf0bd8..123474d23bb14d299a40de239cf967c29c411943 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -46,8 +46,9 @@ static const int kIndicesPerGlyph = 6; |
}; |
GrBitmapTextContext::GrBitmapTextContext(GrContext* context, |
+ SkGpuDevice* gpuDevice, |
const SkDeviceProperties& properties) |
- : GrTextContext(context, properties) { |
+ : GrTextContext(context, gpuDevice, properties) { |
fStrike = NULL; |
fCurrTexture = NULL; |
@@ -62,8 +63,9 @@ GrBitmapTextContext::GrBitmapTextContext(GrContext* context, |
} |
GrBitmapTextContext* GrBitmapTextContext::Create(GrContext* context, |
+ SkGpuDevice* gpuDevice, |
const SkDeviceProperties& props) { |
- return SkNEW_ARGS(GrBitmapTextContext, (context, props)); |
+ return SkNEW_ARGS(GrBitmapTextContext, (context, gpuDevice, props)); |
} |
bool GrBitmapTextContext::canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) { |