| Index: chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java
|
| index 6733cdc1ae2d0fed2020f3ca852613aa3151df84..32c7b70514992c7ea6561232e29f90bacd5cfced 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java
|
| @@ -92,7 +92,7 @@ public class GeolocationTest extends ChromeActivityTestCaseBase<ChromeActivity>
|
| final CallbackHelper loadCallback = new CallbackHelper();
|
| TabObserver observer = new EmptyTabObserver() {
|
| @Override
|
| - public void onLoadStopped(Tab tab) {
|
| + public void onLoadStopped(Tab tab, boolean toDifferentDocument) {
|
| // If the device has a cached non-mock location, we won't get back our
|
| // lat/long, so checking that it has "#pass" is sufficient.
|
| if (tab.getUrl().startsWith(url + "#pass|")) {
|
| @@ -129,7 +129,7 @@ public class GeolocationTest extends ChromeActivityTestCaseBase<ChromeActivity>
|
| final CallbackHelper loadCallback0 = new CallbackHelper();
|
| TabObserver observer = new EmptyTabObserver() {
|
| @Override
|
| - public void onLoadStopped(Tab tab) {
|
| + public void onLoadStopped(Tab tab, boolean toDifferentDocument) {
|
| // If the device has a cached non-mock location, we won't get back our
|
| // lat/long, so checking that it has "#pass" is sufficient.
|
| if (tab.getUrl().startsWith(url + "#pass|0|")) {
|
| @@ -153,7 +153,7 @@ public class GeolocationTest extends ChromeActivityTestCaseBase<ChromeActivity>
|
| final CallbackHelper loadCallback1 = new CallbackHelper();
|
| observer = new EmptyTabObserver() {
|
| @Override
|
| - public void onLoadStopped(Tab tab) {
|
| + public void onLoadStopped(Tab tab, boolean toDifferentDocument) {
|
| // If the device has a cached non-mock location, we won't get back our
|
| // lat/long, so checking that it has "#pass" is sufficient.
|
| if (tab.getUrl().startsWith(url + "#pass|1|")) {
|
|
|