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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.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/OffscreenCanvasFrameDispatcher.h
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h
index 23de3e67261dcb92810bc360bbadd4d67c178f4a..60f7005f4ef093f5637a58d7b8a58c0f66b2cdde 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h
@@ -22,6 +22,8 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcher {
bool isWebGLSoftwareRendering = false) = 0;
virtual void reclaimResource(unsigned resourceId) = 0;
+ virtual void reshape(int width, int height) = 0;
+
WeakPtr<OffscreenCanvasFrameDispatcher> createWeakPtr() {
return m_weakPtrFactory.createWeakPtr();
}

Powered by Google App Engine
This is Rietveld 408576698