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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/RootView.js

Issue 2170993002: Revert of DevTools: keep widgets in widget hierarchy upon hide, split attach/detach cycle from show/hide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: third_party/WebKit/Source/devtools/front_end/ui/RootView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/RootView.js b/third_party/WebKit/Source/devtools/front_end/ui/RootView.js
index 00854626f68b7622f45cccee102af46bfd1311f9..e4b5ef9bfb2ead634f523cbe3059910f063cf654 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/RootView.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/RootView.js
@@ -23,7 +23,7 @@
document.defaultView.addEventListener("resize", this.doResize.bind(this), false);
this._window = document.defaultView;
this.doResize();
- this.show(/** @type {!Element} */ (document.body));
+ this.show(document.body);
},
doResize: function()

Powered by Google App Engine
This is Rietveld 408576698