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

Unified Diff: third_party/WebKit/Source/core/html/canvas/OffscreenCanvas.idl

Issue 1748163003: Add rendering context and rendering 2D context to OffscreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove CanvasRenderingContextBase Created 4 years, 10 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/html/canvas/OffscreenCanvas.idl
diff --git a/third_party/WebKit/Source/core/html/canvas/OffscreenCanvas.idl b/third_party/WebKit/Source/core/html/canvas/OffscreenCanvas.idl
index be5bf9128569e7bf0702354f142c44a037338a56..90dc37e8ac69b84083e209dee6867191d5faa3e9 100644
--- a/third_party/WebKit/Source/core/html/canvas/OffscreenCanvas.idl
+++ b/third_party/WebKit/Source/core/html/canvas/OffscreenCanvas.idl
@@ -10,4 +10,6 @@
] interface OffscreenCanvas {
[EnforceRange] attribute unsigned long width;
[EnforceRange] attribute unsigned long height;
+
+ OffscreenCanvasRenderingContext? getContext(DOMString contextId, optional CanvasContextCreationAttributes attributes);
};

Powered by Google App Engine
This is Rietveld 408576698