Index: chrome/renderer/extensions/user_script_idle_scheduler.cc |
diff --git a/chrome/renderer/extensions/user_script_idle_scheduler.cc b/chrome/renderer/extensions/user_script_idle_scheduler.cc |
index 4042bfdf560410370f42b56c278dbd8943ff979f..d087abb96ee7e29f5fa73514ba2fdcfb1d1dab01 100644 |
--- a/chrome/renderer/extensions/user_script_idle_scheduler.cc |
+++ b/chrome/renderer/extensions/user_script_idle_scheduler.cc |
@@ -56,7 +56,7 @@ void UserScriptIdleScheduler::DidFinishDocumentLoad() { |
MessageLoop::current()->PostDelayedTask( |
FROM_HERE, base::Bind(&UserScriptIdleScheduler::MaybeRun, |
weak_factory_.GetWeakPtr()), |
- kUserScriptIdleTimeoutMs); |
+ base::TimeDelta::FromMilliseconds(kUserScriptIdleTimeoutMs)); |
} |
void UserScriptIdleScheduler::DidFinishLoad() { |