| Index: Source/devtools/front_end/ui/RootView.js
|
| diff --git a/Source/devtools/front_end/ui/RootView.js b/Source/devtools/front_end/ui/RootView.js
|
| index 465c6d169a15b1d774e7ace25869e1e2469e36b8..01fcb96293aa1da8cd2928de89a5374480acb2db 100644
|
| --- a/Source/devtools/front_end/ui/RootView.js
|
| +++ b/Source/devtools/front_end/ui/RootView.js
|
| @@ -5,6 +5,7 @@
|
| /**
|
| * @constructor
|
| * @extends {WebInspector.VBox}
|
| + * @suppressGlobalPropertiesCheck
|
| */
|
| WebInspector.RootView = function()
|
| {
|
| @@ -12,10 +13,15 @@ WebInspector.RootView = function()
|
| this.markAsRoot();
|
| this.element.classList.add("root-view");
|
| this.element.setAttribute("spellcheck", false);
|
| + // This view is not designed to change owner document.
|
| window.addEventListener("resize", this.doResize.bind(this), false);
|
| }
|
|
|
| WebInspector.RootView.prototype = {
|
| + /**
|
| + * @public // FIXME: this is a workaround for validator bug (http://crbug.com/425506).
|
| + * @suppressGlobalPropertiesCheck
|
| + */
|
| attachToBody: function()
|
| {
|
| this.doResize();
|
|
|