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 9d1027e9186d6fd9c7ef6463c6f7a3754108d7b9..0d78f5b4e2c1e4d3f7c5db00a3b36597d04620ef 100644 |
--- a/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp |
+++ b/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp |
@@ -4,7 +4,6 @@ |
#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" |
@@ -21,10 +20,7 @@ |
m_successCallback(successCallback), |
m_errorCallback(errorCallback), |
m_options(options), |
- m_timer(TaskRunnerHelper::get(TaskType::MiscPlatformAPI, |
- geolocation->frame()), |
- this, |
- &GeoNotifier::timerFired), |
+ m_timer(this, &GeoNotifier::timerFired), |
m_useCachedPosition(false) { |
DCHECK(m_geolocation); |
DCHECK(m_successCallback); |