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

Unified Diff: chrome/browser/resources/net_internals/view.js

Issue 1494783002: [Net Internals Page] Fix Element Shrinkage from Pinch-to-Zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/view.js
diff --git a/chrome/browser/resources/net_internals/view.js b/chrome/browser/resources/net_internals/view.js
index ab2db5a773e5da958df570fb3a368bb0c41d0393..05e538f1c5a573faec1896d7c5bd1edb854513c2 100644
--- a/chrome/browser/resources/net_internals/view.js
+++ b/chrome/browser/resources/net_internals/view.js
@@ -193,7 +193,8 @@ var WindowView = (function() {
},
resetGeometry: function() {
- this.setGeometry(0, 0, window.innerWidth, window.innerHeight);
+ this.setGeometry(0, 0, document.documentElement.clientWidth,
+ document.documentElement.clientHeight);
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698