Chromium Code Reviews| 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(); |