Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / inspector / layers-test.js
index 12d714d..43f4ce4 100644 (file)
@@ -1,10 +1,10 @@
 function initialize_LayerTreeTests()
 {
     // FIXME: remove once out of experimental.
-    WebInspector.moduleManager.registerModule("layers");
-    var extensions = WebInspector.moduleManager.extensions(WebInspector.Panel).forEach(function(extension) {
+    InspectorTest.registerModule("layers");
+    var extensions = runtime.extensions(WebInspector.Panel).forEach(function(extension) {
         if (extension.module().name() === "layers")
-            WebInspector.inspectorView.addPanel(new WebInspector.ModuleManagerExtensionPanelDescriptor(extension));
+            WebInspector.inspectorView.addPanel(new WebInspector.RuntimeExtensionPanelDescriptor(extension));
     });
     InspectorTest.layerTreeModel = WebInspector.inspectorView.panel("layers")._model;
     InspectorTest.layers3DView = WebInspector.inspectorView.panel("layers")._layers3DView;