Index: third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
index cc2841937dd4cb2e78ed14f4a28bbdf6b830b1f3..8327b786da83f5632bf8324bb468fc25e55a0078 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
@@ -3,7 +3,7 @@ function initialize_LayerTreeTests() |
InspectorTest.layerTreeModel = function() |
{ |
if (!InspectorTest._layerTreeModel) |
- InspectorTest._layerTreeModel = Layers.LayerTreeModel.fromTarget(InspectorTest.mainTarget); |
+ InspectorTest._layerTreeModel = InspectorTest.mainTarget.model(Layers.LayerTreeModel); |
return InspectorTest._layerTreeModel; |
} |