Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h

Issue 2517343003: Update Resize information from OffscreenCanvas to OffscreenCanvasFrameDispatcher (Closed)
Patch Set: fix error Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 441c7e461848a70176a9d59343d90327f2393fae..c505b9dcbddc9422302b5e1eae088cec9529f938 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
@@ -52,10 +52,13 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final
OffscreenCanvasCommitTypeCount,
};
+ void reshape(int width, int height) override;
+
private:
- const cc::SurfaceId m_surfaceId;
- const int m_width;
- const int m_height;
+ const cc::FrameSinkId m_frameSinkId;
+ cc::LocalFrameId m_currentLocalFrameId;
+ int m_width;
+ int m_height;
unsigned m_nextResourceId;
HashMap<unsigned, RefPtr<StaticBitmapImage>> m_cachedImages;

Powered by Google App Engine
This is Rietveld 408576698