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

Unified Diff: PerformanceTests/Layout/SimpleTextPathLineLayout.html

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: s/forceFullLayout/forceLayout/g 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: PerformanceTests/Layout/SimpleTextPathLineLayout.html
diff --git a/PerformanceTests/Layout/SimpleTextPathLineLayout.html b/PerformanceTests/Layout/SimpleTextPathLineLayout.html
index 8eb246d802cecf01f3e59e7af838d1ef5f3c803b..24bd6ddf18ec23c2d20c648408ad97f6a4690983 100644
--- a/PerformanceTests/Layout/SimpleTextPathLineLayout.html
+++ b/PerformanceTests/Layout/SimpleTextPathLineLayout.html
@@ -30,11 +30,11 @@ Cibo tollit perpetua eos an, eu sale expetendis mea, nam at assum convenire nece
function test() {
style.display = "block";
style.width = "200px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "200px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.width = "200px";
- target.offsetLeft;
+ PerfTestRunner.forceLayout();
style.display = "none";
}

Powered by Google App Engine
This is Rietveld 408576698