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

Unified Diff: LayoutTests/inspector/timeline/timeline-layout-reason.html

Issue 461323003: DevTools: Make Timeline tests use only model records (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/inspector/timeline/timeline-layout-reason.html
diff --git a/LayoutTests/inspector/timeline/timeline-layout-reason.html b/LayoutTests/inspector/timeline/timeline-layout-reason.html
index 805d00d815b966b8730d58d645586d67fbed5430..71f17f733164dc6cfedd37d8b6e8f6e9c51f91bc 100644
--- a/LayoutTests/inspector/timeline/timeline-layout-reason.html
+++ b/LayoutTests/inspector/timeline/timeline-layout-reason.html
@@ -30,7 +30,7 @@ function test()
InspectorTest.evaluateWithTimeline("performActions()", onTimelineRecorded);
function onTimelineRecorded()
{
- var layoutRecord = InspectorTest.findPresentationRecord("Layout");
+ var layoutRecord = InspectorTest.findFirstTimelineRecord("Layout");
InspectorTest.addResult("layout invalidated: " + layoutRecord.callSiteStackTrace()[0].functionName);
InspectorTest.addResult("layout forced: " + layoutRecord.stackTrace()[0].functionName);
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698