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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasGradient.idl

Issue 1919363002: Add createGradient and createPattern to OffscreenCanvas2D in worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ScriptState Created 4 years, 8 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/canvas2d/CanvasGradient.idl
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.idl
index 84c2b4ca6cb10fe76e3f35522d818454fc264f82..4f47f91eb63fdb584c8751b77b6ec9c2d1867ac0 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.idl
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.idl
@@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
[
+ Exposed(Worker ExperimentalCanvasFeatures, Window StableBlinkFeatures),
] interface CanvasGradient {
[RaisesException] void addColorStop(float offset, DOMString color);

Powered by Google App Engine
This is Rietveld 408576698