Index: extensions/renderer/user_script_set.cc |
diff --git a/extensions/renderer/user_script_set.cc b/extensions/renderer/user_script_set.cc |
index 929c017f18eee0a96c11a29cfeec08509a16bfd2..01e8a5a2e682887f24c136dc1fedaa99f7b6fc05 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, |