| Index: third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp
|
| diff --git a/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp b/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp
|
| index 0d78f5b4e2c1e4d3f7c5db00a3b36597d04620ef..9d1027e9186d6fd9c7ef6463c6f7a3754108d7b9 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "modules/geolocation/GeoNotifier.h"
|
|
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "modules/geolocation/Geolocation.h"
|
| #include "modules/geolocation/PositionError.h"
|
| #include "modules/geolocation/PositionOptions.h"
|
| @@ -20,7 +21,10 @@ GeoNotifier::GeoNotifier(Geolocation* geolocation,
|
| m_successCallback(successCallback),
|
| m_errorCallback(errorCallback),
|
| m_options(options),
|
| - m_timer(this, &GeoNotifier::timerFired),
|
| + m_timer(TaskRunnerHelper::get(TaskType::MiscPlatformAPI,
|
| + geolocation->frame()),
|
| + this,
|
| + &GeoNotifier::timerFired),
|
| m_useCachedPosition(false) {
|
| DCHECK(m_geolocation);
|
| DCHECK(m_successCallback);
|
|
|