Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
index 7d77d0fa8ac4da16eb3adb0e7f32345ff09963c8..20b09b98396a4165064372d3df86d29d38d5adda 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
@@ -178,8 +178,6 @@ |
void setLoggerForTesting(std::unique_ptr<Logger>); |
private: |
- void ResetSurface(); |
- |
#if USE_IOSURFACE_FOR_2D_CANVAS |
// All information associated with a CHROMIUM image. |
struct ImageInfo; |
@@ -207,7 +205,7 @@ |
void flushRecordingOnly(); |
void reportSurfaceCreationFailure(); |
- SkSurface* getOrCreateSurface(AccelerationHint = PreferAcceleration); |
+ PaintSurface* getOrCreateSurface(AccelerationHint = PreferAcceleration); |
bool shouldAccelerate(AccelerationHint) const; |
// Returns the GL filter associated with |m_filterQuality|. |
@@ -244,8 +242,7 @@ |
void resetSkiaTextureBinding(); |
std::unique_ptr<PaintRecorder> m_recorder; |
- sk_sp<SkSurface> m_surface; |
- std::unique_ptr<PaintCanvas> m_surfacePaintCanvas; |
+ sk_sp<PaintSurface> m_surface; |
sk_sp<SkImage> m_hibernationImage; |
int m_initialSurfaceSaveCount; |
std::unique_ptr<WebExternalTextureLayer> m_layer; |