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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/pattern-empty-bbox-2.html

Issue 2295653002: Use window.testRunner in if-clause (Closed)
Patch Set: a 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/LayoutTests/svg/custom/pattern-empty-bbox-2.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/pattern-empty-bbox-2.html b/third_party/WebKit/LayoutTests/svg/custom/pattern-empty-bbox-2.html
index 968ff8254cde1f6c2ad8a0cdceb965749a14416e..4854a0cddb4fc6a5aebc9ef03ef032f588ef5be7 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/pattern-empty-bbox-2.html
+++ b/third_party/WebKit/LayoutTests/svg/custom/pattern-empty-bbox-2.html
@@ -17,7 +17,7 @@ if (window.testRunner)
window.onload = function() {
runAfterLayoutAndPaint(function() {
changeToUSOU();
- if (testRunner)
+ if (window.testRunner)
runAfterLayoutAndPaint(function() { testRunner.notifyDone(); });
});
};

Powered by Google App Engine
This is Rietveld 408576698