Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
index 7bcaae2ef9140d67f40a466a8d170e41bce26de3..52384bb356bd6bf02879d2079d66b16489dd8e4e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
@@ -31,9 +31,13 @@ private: |
const cc::SurfaceId m_surfaceId; |
const int m_width; |
const int m_height; |
- cc::mojom::blink::MojoCompositorFrameSinkPtr m_sink; |
+ unsigned m_nextResourceId; |
HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages; |
+ |
+ bool verifyImageSize(const sk_sp<SkImage>&); |
+ |
+ cc::mojom::blink::MojoCompositorFrameSinkPtr m_sink; |
mojo::Binding<cc::mojom::blink::MojoCompositorFrameSinkClient> m_binding; |
}; |