Index: extensions/renderer/script_injection_manager.cc |
diff --git a/extensions/renderer/script_injection_manager.cc b/extensions/renderer/script_injection_manager.cc |
index d5fe072041d1b522b030948b517030ab2edd6ed4..f758b95015afa057c521051497c8fe5e1144a8fd 100644 |
--- a/extensions/renderer/script_injection_manager.cc |
+++ b/extensions/renderer/script_injection_manager.cc |
@@ -379,10 +379,10 @@ void ScriptInjectionManager::TryToInject( |
scripts_run_info, |
this)) { |
case ScriptInjection::INJECTION_WAITING: |
- pending_injections_.push_back(injection.release()); |
+ pending_injections_.push_back(injection.Pass()); |
break; |
case ScriptInjection::INJECTION_BLOCKED: |
- running_injections_.push_back(injection.release()); |
+ running_injections_.push_back(injection.Pass()); |
break; |
case ScriptInjection::INJECTION_FINISHED: |
break; |