Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: extensions/renderer/script_injection_manager.cc

Issue 1145073003: Subsituting pattern ScopedVector push_back.(ptr.release()) with push_back(ptr.Pass()) in extensions… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | extensions/renderer/user_script_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « AUTHORS ('k') | extensions/renderer/user_script_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698