| Index: chrome/browser/resources/settings/device_page/layout_behavior.js
|
| diff --git a/chrome/browser/resources/settings/device_page/layout_behavior.js b/chrome/browser/resources/settings/device_page/layout_behavior.js
|
| index dcea057a8a4d36e44ea6cf9375111e5845b7ee4d..77a56a3fc0e35b5d52bd0df21790caff1c51c800 100644
|
| --- a/chrome/browser/resources/settings/device_page/layout_behavior.js
|
| +++ b/chrome/browser/resources/settings/device_page/layout_behavior.js
|
| @@ -36,7 +36,7 @@ var LayoutBehavior = {
|
| calculatedBoundsMap_: new Map(),
|
|
|
| /** @private {string} */
|
| - dragLayoutId: '',
|
| + dragLayoutId_: '',
|
|
|
| /** @private {string} */
|
| dragParentId_: '',
|
| @@ -52,7 +52,7 @@ var LayoutBehavior = {
|
| * @param {!Array<!chrome.system.display.DisplayLayout>} layouts
|
| */
|
| initializeDisplayLayout: function(displays, layouts) {
|
| - this.dragLayoutId = '';
|
| + this.dragLayoutId_ = '';
|
| this.dragParentId_ = '';
|
|
|
| this.mirroring = displays.length > 0 && !!displays[0].mirroringSourceId;
|
| @@ -85,7 +85,7 @@ var LayoutBehavior = {
|
| * @return {!chrome.system.display.Bounds}
|
| */
|
| updateDisplayBounds: function(id, newBounds) {
|
| - this.dragLayoutId = id;
|
| + this.dragLayoutId_ = id;
|
|
|
| // Find the closest parent.
|
| var closestId = this.findClosest_(id, newBounds);
|
| @@ -134,7 +134,7 @@ var LayoutBehavior = {
|
| */
|
| finishUpdateDisplayBounds: function(id) {
|
| this.highlightEdge_('', undefined); // Remove any highlights.
|
| - if (id != this.dragLayoutId || !this.dragBounds_ ||
|
| + if (id != this.dragLayoutId_ || !this.dragBounds_ ||
|
| !this.dragLayoutPosition_) {
|
| return;
|
| }
|
|
|