| Index: third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js b/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
|
| index 08ee5fa626fef308661d1b4c2d182bae2f621992..7ede716c22851dd4be9e6eb1e2811fc11ea2fd0b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
|
| @@ -26,7 +26,7 @@ WebInspector.Geolocation.prototype = {
|
|
|
| apply: function()
|
| {
|
| - for (var target of WebInspector.targetManager.targets(WebInspector.Target.Type.Page)) {
|
| + for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Browser)) {
|
| if (this.error)
|
| target.emulationAgent().setGeolocationOverride();
|
| else
|
| @@ -36,7 +36,7 @@ WebInspector.Geolocation.prototype = {
|
|
|
| clear: function()
|
| {
|
| - for (var target of WebInspector.targetManager.targets(WebInspector.Target.Type.Page))
|
| + for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Browser))
|
| target.emulationAgent().clearGeolocationOverride();
|
| }
|
| }
|
|
|