Index: third_party/WebKit/Source/web/InspectorEmulationAgent.cpp |
diff --git a/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp b/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp |
index 24f2559637a239ebb4caa19b377dd37d0702fc96..f661594577ef716c1108aaf48cbcc8102f487974 100644 |
--- a/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp |
+++ b/third_party/WebKit/Source/web/InspectorEmulationAgent.cpp |
@@ -150,7 +150,7 @@ Response InspectorEmulationAgent::setVirtualTimePolicy(const String& policy, |
m_webLocalFrameImpl->view()->scheduler()->enableVirtualTime(); |
if (budget.isJust()) { |
- WebTaskRunner* taskRunner = |
+ RefPtr<WebTaskRunner> taskRunner = |
Platform::current()->currentThread()->getWebTaskRunner(); |
long long delayMillis = static_cast<long long>(budget.fromJust()); |
m_virtualTimeBudgetExpiredTaskHandle = |