summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--extensions/renderer/script_injection_manager.cc4
-rw-r--r--extensions/renderer/user_script_set.cc4
3 files changed, 5 insertions, 4 deletions
diff --git a/AUTHORS b/AUTHORS
index 18a987c..089f07d 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -536,6 +536,7 @@ Torsten Kurbad <google@tk-webart.de>
Trevor Perrin <unsafe@trevp.net>
U. Artie Eoff <ullysses.a.eoff@intel.com>
Umar Hansa <umar.hansa@gmail.com>
+Vaibhav Agrawal <vaibhav1.a@samsung.com>
Vamshikrishna Yellenki <vamshi@motorola.com>
Vani Hegde <vani.hegde@samsung.com>
Vartul Katiyar <vartul.k@samsung.com>
diff --git a/extensions/renderer/script_injection_manager.cc b/extensions/renderer/script_injection_manager.cc
index d5fe072..f758b95 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;
diff --git a/extensions/renderer/user_script_set.cc b/extensions/renderer/user_script_set.cc
index 929c017..01e8a5a 100644
--- a/extensions/renderer/user_script_set.cc
+++ b/extensions/renderer/user_script_set.cc
@@ -82,7 +82,7 @@ void UserScriptSet::GetInjections(
document_url,
false /* is_declarative */);
if (injection.get())
- injections->push_back(injection.release());
+ injections->push_back(injection.Pass());
}
}
@@ -149,7 +149,7 @@ bool UserScriptSet::UpdateUserScripts(base::SharedMemoryHandle shared_memory,
continue;
}
- scripts_.push_back(script.release());
+ scripts_.push_back(script.Pass());
}
FOR_EACH_OBSERVER(Observer,