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

Unified Diff: PerformanceTests/SVG/SvgCubics.html

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: layoutOrFullyRender -> forceLayoutOrFullFrame Created 6 years, 1 month 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
« no previous file with comments | « PerformanceTests/Layout/subtree-detaching.html ('k') | PerformanceTests/SVG/SvgNestedUse.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/SVG/SvgCubics.html
diff --git a/PerformanceTests/SVG/SvgCubics.html b/PerformanceTests/SVG/SvgCubics.html
index 8bb9453cca30c6772b395b3542c0ba48f1ff6ed7..bc3615ff1dc4fd4c67e71934035cf59e6aa2b504 100644
--- a/PerformanceTests/SVG/SvgCubics.html
+++ b/PerformanceTests/SVG/SvgCubics.html
@@ -907,8 +907,7 @@
text += ('text on a path! ' + t + ' ');
textPath.textContent = text;
- // force layout
- document.getElementById('svg').offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
t++;
}, done:function() {
« no previous file with comments | « PerformanceTests/Layout/subtree-detaching.html ('k') | PerformanceTests/SVG/SvgNestedUse.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698