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

Unified Diff: Source/devtools/front_end/InspectedPagePlaceholder.js

Issue 214663005: [DevTools] Add preferred size to WebInspector.View. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Constraints Created 6 years, 9 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: Source/devtools/front_end/InspectedPagePlaceholder.js
diff --git a/Source/devtools/front_end/InspectedPagePlaceholder.js b/Source/devtools/front_end/InspectedPagePlaceholder.js
index 913e55fc33031f9535b13d149ea50203414bf9be..d7b9f3be126e94e05856ea66cd1cd29724b2655a 100644
--- a/Source/devtools/front_end/InspectedPagePlaceholder.js
+++ b/Source/devtools/front_end/InspectedPagePlaceholder.js
@@ -11,7 +11,7 @@ WebInspector.InspectedPagePlaceholder = function()
WebInspector.View.call(this);
WebInspector.zoomManager.addEventListener(WebInspector.ZoomManager.Events.ZoomChanged, this._onZoomChanged, this);
this._margins = { top: false, right: false, bottom: false, left: false };
- this.setMinimumSize(WebInspector.InspectedPagePlaceholder.Constraints.Width, WebInspector.InspectedPagePlaceholder.Constraints.Height);
+ this.setConstraints(WebInspector.InspectedPagePlaceholder.Constraints.Width, WebInspector.InspectedPagePlaceholder.Constraints.Height);
};
WebInspector.InspectedPagePlaceholder.Constraints = {

Powered by Google App Engine
This is Rietveld 408576698