| Index: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| index e03655ff83fdc2e23734b49a8aa3489a80e85d38..769c95f9a36e2280982ccceab008f5111e3ba1bf 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
|
| @@ -180,8 +180,8 @@ void Geolocation::getCurrentPosition(PositionCallback* successCallback,
|
| return;
|
|
|
| reportGeolocationViolation(document());
|
| - InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
|
| - document(), "Geolocation.getCurrentPosition", true);
|
| + InspectorInstrumentation::breakIfNeeded(document(),
|
| + "Geolocation.getCurrentPosition");
|
|
|
| GeoNotifier* notifier =
|
| GeoNotifier::create(this, successCallback, errorCallback, options);
|
| @@ -197,8 +197,8 @@ int Geolocation::watchPosition(PositionCallback* successCallback,
|
| return 0;
|
|
|
| reportGeolocationViolation(document());
|
| - InspectorInstrumentation::NativeBreakpoint nativeBreakpoint(
|
| - document(), "Geolocation.watchPosition", true);
|
| + InspectorInstrumentation::breakIfNeeded(document(),
|
| + "Geolocation.watchPosition");
|
|
|
| GeoNotifier* notifier =
|
| GeoNotifier::create(this, successCallback, errorCallback, options);
|
|
|