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

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: 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
Index: PerformanceTests/Layout/SimpleTextPathLineLayout.html
diff --git a/PerformanceTests/Layout/SimpleTextPathLineLayout.html b/PerformanceTests/Layout/SimpleTextPathLineLayout.html
index 8eb246d802cecf01f3e59e7af838d1ef5f3c803b..827680dd0be9c8df103bb0e40e3831574d6856d2 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.forceLayoutOrFullFrame();
style.width = "200px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.width = "200px";
- target.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
style.display = "none";
}
« no previous file with comments | « PerformanceTests/Layout/Shapes/resources/shapes.js ('k') | PerformanceTests/Layout/auto-grid-lots-of-data.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698