function onTimelineRecorded(records)
{
- var layoutRecord = InspectorTest.findPresentationRecord("Layout");
+ var layoutRecord = InspectorTest.findFirstTimelineRecord("Layout");
WebInspector.notifications.addEventListener(WebInspector.NotificationService.Events.SelectedNodeChanged, onSelectedNodeChanged);
clickValueLink(layoutRecord, "Layout root");
}