Index: Source/devtools/front_end/emulation/MediaQueryInspector.js |
diff --git a/Source/devtools/front_end/emulation/MediaQueryInspector.js b/Source/devtools/front_end/emulation/MediaQueryInspector.js |
index 4da4b0fc24f551b8a3c281423f73d14682e732d2..e10e6211ab3e22fb529725ffd675d69ce84f5152 100644 |
--- a/Source/devtools/front_end/emulation/MediaQueryInspector.js |
+++ b/Source/devtools/front_end/emulation/MediaQueryInspector.js |
@@ -4,12 +4,12 @@ |
/** |
* @constructor |
- * @extends {WebInspector.View} |
+ * @extends {WebInspector.Widget} |
* @implements {WebInspector.TargetManager.Observer} |
*/ |
WebInspector.MediaQueryInspector = function() |
{ |
- WebInspector.View.call(this); |
+ WebInspector.Widget.call(this); |
this.element.classList.add("media-inspector-view", "media-inspector-view-empty"); |
this.element.addEventListener("click", this._onMediaQueryClicked.bind(this), false); |
this.element.addEventListener("contextmenu", this._onContextMenu.bind(this), false); |
@@ -359,7 +359,7 @@ WebInspector.MediaQueryInspector.prototype = { |
return markerElement; |
}, |
- __proto__: WebInspector.View.prototype |
+ __proto__: WebInspector.Widget.prototype |
}; |
/** |