Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / inspector / layers-test.js
index 43f4ce4..1b11b5e 100644 (file)
@@ -6,7 +6,7 @@ function initialize_LayerTreeTests()
         if (extension.module().name() === "layers")
             WebInspector.inspectorView.addPanel(new WebInspector.RuntimeExtensionPanelDescriptor(extension));
     });
-    InspectorTest.layerTreeModel = WebInspector.inspectorView.panel("layers")._model;
+    InspectorTest.layerTreeModel = WebInspector.targetManager.mainTarget().layerTreeModel;
     InspectorTest.layers3DView = WebInspector.inspectorView.panel("layers")._layers3DView;
 
     InspectorTest.labelForLayer = function(layer)