Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1876)

Unified Diff: Source/devtools/front_end/main/ScreencastApp.js

Issue 675753002: [DevTools] Drop "ui" module from toolbox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/main/SimpleApp.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/ScreencastApp.js
diff --git a/Source/devtools/front_end/main/ScreencastApp.js b/Source/devtools/front_end/main/ScreencastApp.js
index c6a594708f4883bc49983703112a6ba5bf364b0b..aeaf66f97718f7209477d8857e2af141abbfe1d2 100644
--- a/Source/devtools/front_end/main/ScreencastApp.js
+++ b/Source/devtools/front_end/main/ScreencastApp.js
@@ -25,7 +25,11 @@ WebInspector.ScreencastApp = function()
};
WebInspector.ScreencastApp.prototype = {
- presentUI: function()
+ /**
+ * @param {!Document} document
+ * @override
+ */
+ presentUI: function(document)
{
var rootView = new WebInspector.RootView();
@@ -35,7 +39,7 @@ WebInspector.ScreencastApp.prototype = {
WebInspector.inspectorView.show(this._rootSplitView.sidebarElement());
WebInspector.inspectorView.showInitialPanel();
- rootView.attachToBody();
+ rootView.attachToDocument(document);
},
/**
« no previous file with comments | « Source/devtools/front_end/main/Main.js ('k') | Source/devtools/front_end/main/SimpleApp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698