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

Unified Diff: LayoutTests/svg/custom/js-late-pattern-creation.svg

Issue 615033002: Refactor of various layout tests to use RAF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix use-detatch.svg Created 6 years, 2 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/svg/custom/js-late-pattern-creation.svg
diff --git a/LayoutTests/svg/custom/js-late-pattern-creation.svg b/LayoutTests/svg/custom/js-late-pattern-creation.svg
index 4d1e4d30a3432ca28671a377a5e05e97a9d819a0..00ff515470774b5260306513904130ddeb4ddd2e 100644
--- a/LayoutTests/svg/custom/js-late-pattern-creation.svg
+++ b/LayoutTests/svg/custom/js-late-pattern-creation.svg
@@ -10,7 +10,7 @@
var content = document.getElementById("content");
function repaintTest() {
- setTimeout(createPattern, 0);
+ requestAnimationFrame(createPattern);
}
function createPattern()

Powered by Google App Engine
This is Rietveld 408576698