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

Unified Diff: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h

Issue 2313533002: Revert of Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: Created 4 years, 3 months 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/core/offscreencanvas/OffscreenCanvas.h
diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
index 5e6dd8b2fd0a5f897457132cf511c53ab0c04cb8..162b2b874905d3185100ee844a0c8b06c5cfb778 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
@@ -11,7 +11,6 @@
#include "core/html/HTMLCanvasElement.h"
#include "core/html/canvas/CanvasImageSource.h"
#include "platform/geometry/IntSize.h"
-#include "platform/graphics/OffscreenCanvasFrameDispatcher.h"
#include "platform/heap/Handle.h"
#include <memory>
@@ -51,8 +50,6 @@
// TODO(crbug.com/630356): apply the flag to WebGL context as well
void setDisableReadingFromCanvasTrue() { m_disableReadingFromCanvas = true; }
- OffscreenCanvasFrameDispatcher* getOrCreateFrameDispatcher();
-
void setSurfaceId(uint32_t clientId, uint32_t localId, uint64_t nonce)
{
m_clientId = clientId;
@@ -91,7 +88,6 @@
bool isPaintable() const;
- std::unique_ptr<OffscreenCanvasFrameDispatcher> m_frameDispatcher;
// cc::SurfaceId is broken into three integer components as this can be used
// in transfer of OffscreenCanvas across threads
// If this object is not created via HTMLCanvasElement.transferControlToOffscreen(),

Powered by Google App Engine
This is Rietveld 408576698