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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.h

Issue 2255683005: Determine if OffscreenCanvas is paintable in different rendering contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Canvas2DTypecast
Patch Set: Created 4 years, 4 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/modules/offscreencanvas/OffscreenCanvasModules.h
diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.h b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.h
index ed43b21adb2462bfa54e742adc85ad2223e1a69c..03bff3828aa58d8c4f067958f932760784564a0f 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.h
+++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasModules.h
@@ -21,6 +21,9 @@ class MODULES_EXPORT OffscreenCanvasModules {
STATIC_ONLY(OffscreenCanvasModules)
public:
static void getContext(ScriptState*, OffscreenCanvas&, const String&, const CanvasContextCreationAttributes&, ExceptionState&, OffscreenRenderingContext&);
+
+private:
+ bool isPaintable(OffscreenCanvas&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698