| Index: components/autofill/content/browser/risk/fingerprint_browsertest.cc
|
| ===================================================================
|
| --- components/autofill/content/browser/risk/fingerprint_browsertest.cc (revision 269041)
|
| +++ components/autofill/content/browser/risk/fingerprint_browsertest.cc (working copy)
|
| @@ -187,11 +187,8 @@
|
| position.timestamp =
|
| base::Time::UnixEpoch() +
|
| base::TimeDelta::FromMilliseconds(kGeolocationTime);
|
| - scoped_refptr<content::MessageLoopRunner> runner =
|
| - new content::MessageLoopRunner;
|
| - content::GeolocationProvider::OverrideLocationForTesting(
|
| - position, runner->QuitClosure());
|
| - runner->Run();
|
| + content::GeolocationProvider::GetInstance()->OverrideLocationForTesting(
|
| + position);
|
|
|
| blink::WebScreenInfo screen_info;
|
| screen_info.depth = kScreenColorDepth;
|
|
|