Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / timeline / timeline-node-reference.html
index a58af86..40e402c 100644 (file)
@@ -29,7 +29,8 @@ function test()
 
     function clickValueLink(record, row)
     {
-        var helper = WebInspector.TimelineUIUtils.generatePopupContent(record, new WebInspector.Linkifier(), onDetailsContentReady);
+        var panel = WebInspector.inspectorView.panel("timeline");
+        var helper = panel._uiUtils.generateDetailsContent(record, panel._model, new WebInspector.Linkifier(), onDetailsContentReady);
 
         function onDetailsContentReady(element)
         {
@@ -45,7 +46,7 @@ function test()
 
     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");
     }