| Index: third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js b/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
|
| index 2cc65c3a03552bd8d4b060e831dea407f2b670ab..50bd67c12072223c887597b6598d9debb864a680 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/LiveLocation.js
|
| @@ -4,7 +4,7 @@
|
|
|
| /**
|
| * @constructor
|
| - * @param {function(!WebInspector.UILocation):(boolean|undefined)} updateDelegate
|
| + * @param {function(!WebInspector.LiveLocation)} updateDelegate
|
| */
|
| WebInspector.LiveLocation = function(updateDelegate)
|
| {
|
| @@ -14,11 +14,7 @@ WebInspector.LiveLocation = function(updateDelegate)
|
| WebInspector.LiveLocation.prototype = {
|
| update: function()
|
| {
|
| - var uiLocation = this.uiLocation();
|
| - if (!uiLocation)
|
| - return;
|
| - if (this._updateDelegate(uiLocation))
|
| - this.dispose();
|
| + this._updateDelegate(this);
|
| },
|
|
|
| /**
|
| @@ -32,5 +28,13 @@ WebInspector.LiveLocation.prototype = {
|
| dispose: function()
|
| {
|
| // Overridden by subclasses.
|
| + },
|
| +
|
| + /**
|
| + * @return {boolean}
|
| + */
|
| + isBlackboxed: function()
|
| + {
|
| + throw "Not implemented";
|
| }
|
| }
|
|
|