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

Unified Diff: LayoutTests/fast/dom/gc-9.html

Issue 181693006: Refactoring source image usage in CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/fast/dom/gc-9.html
diff --git a/LayoutTests/fast/dom/gc-9.html b/LayoutTests/fast/dom/gc-9.html
index bf306d17c58dc94593abc228347c8d3a9e4828f2..22719afa545fd594586e132b76721860755709fe 100644
--- a/LayoutTests/fast/dom/gc-9.html
+++ b/LayoutTests/fast/dom/gc-9.html
@@ -121,7 +121,7 @@ var objectsToTest = [
[ "document.getElementsByTagName('body')", "allow custom" ], // NodeList
[ "document.getElementsByTagName('canvas')[0].getContext('2d')", "allow custom" ], // CanvasRenderingContext2D
[ "document.getElementsByTagName('canvas')[0].getContext('2d').createLinearGradient(0, 0, 0, 0)" ], // CanvasGradient
- [ "document.getElementsByTagName('canvas')[0].getContext('2d').createPattern(new Image(), 'no-repeat')" ], // CanvasPattern
+ [ "document.getElementsByTagName('canvas')[0].getContext('2d').createPattern(document.getElementsByTagName('canvas')[0], 'no-repeat')" ], // CanvasPattern
Stephen White 2014/02/27 18:53:41 Tangentially: should we/do we have a test to check
[ "document.getElementsByTagName('select')[0].options", "allow custom" ],
[ "document.body.childNodes", "allow custom" ],

Powered by Google App Engine
This is Rietveld 408576698