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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasPattern.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/CanvasPattern.idl
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasPattern.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasPattern.idl
index b0ffcfb6837ed88c649dfc5cd104342d31fe36d0..be91615a4c2573b8760d24c9fad5b4758bc515af 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasPattern.idl
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasPattern.idl
@@ -23,8 +23,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
[
+ Exposed(Worker ExperimentalCanvasFeatures, Window StableBlinkFeatures),
] interface CanvasPattern {
- [RuntimeEnabled=ExperimentalCanvasFeatures] void setTransform(SVGMatrix transform);
+ [RuntimeEnabled=ExperimentalCanvasFeatures,Exposed=Window] void setTransform(SVGMatrix transform);
};

Powered by Google App Engine
This is Rietveld 408576698