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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js

Issue 1956703004: [DevTools] roll closure compiler to ToT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/emulation/DeviceModeView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
index c4447ec2a45710e7c9e202ce94abcd7b93f35e92..005687fe30b7aedd704dbddcf513ef470141613d 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
@@ -290,8 +290,8 @@ WebInspector.DeviceModeView.prototype = {
if (updateRulers) {
this._topRuler.render(this._cachedCssScreenRect ? this._cachedCssScreenRect.left : 0, this._model.scale());
this._leftRuler.render(0, this._model.scale());
- this._topRuler.element.style.top = this._cachedCssScreenRect ? this._cachedCssScreenRect.top + "px" : 0;
pfeldman 2016/05/07 00:16:54 : "0"
kozy 2016/05/07 01:08:42 Done.
- this._leftRuler.element.style.top = this._cachedCssScreenRect ? this._cachedCssScreenRect.top + "px" : 0;
pfeldman 2016/05/07 00:16:54 ditto
kozy 2016/05/07 01:08:42 Done.
+ this._topRuler.element.style.top = (this._cachedCssScreenRect ? this._cachedCssScreenRect.top : 0) + "px";
+ this._leftRuler.element.style.top = (this._cachedCssScreenRect ? this._cachedCssScreenRect.top : 0) + "px";
}
if (contentAreaResized)
this._contentAreaResized();

Powered by Google App Engine
This is Rietveld 408576698