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 e43b2c29730a7c42d38adf7487d475f9488361e0..d6444c423dbdfaa04d3f43c0b90efef7266dab24 100644 |
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h |
@@ -27,8 +27,8 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final |
uint64_t nonceHigh, |
uint64_t nonceLow, |
int canvasId, |
- int width, |
- int height); |
+ unsigned width, |
+ unsigned height); |
// OffscreenCanvasFrameDispatcher implementation. |
~OffscreenCanvasFrameDispatcherImpl() override {} |
@@ -51,10 +51,12 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final |
OffscreenCanvasCommitTypeCount, |
}; |
+ void reshape(unsigned width, unsigned height) override; |
+ |
private: |
- const cc::SurfaceId m_surfaceId; |
- const int m_width; |
- const int m_height; |
+ const cc::FrameSinkId m_frameSinkId; |
+ int m_width; |
+ int m_height; |
unsigned m_nextResourceId; |
HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages; |