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

Unified Diff: chrome/browser/extensions/chrome_extension_function.cc

Issue 291453002: Make ExtensionFunction::ArgumentList (PKA MultipleArguments) take a scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reabse Created 6 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
Index: chrome/browser/extensions/chrome_extension_function.cc
diff --git a/chrome/browser/extensions/chrome_extension_function.cc b/chrome/browser/extensions/chrome_extension_function.cc
index 0f5a503bed9bfac329dc5d96561713fa39066340..849314fff8f267a653af687713860ba01338deda 100644
--- a/chrome/browser/extensions/chrome_extension_function.cc
+++ b/chrome/browser/extensions/chrome_extension_function.cc
@@ -131,8 +131,7 @@ ChromeSyncExtensionFunction::ChromeSyncExtensionFunction() {
ChromeSyncExtensionFunction::~ChromeSyncExtensionFunction() {}
ExtensionFunction::ResponseAction ChromeSyncExtensionFunction::Run() {
- return RespondNow(RunSync() ? MultipleArguments(results_.get())
- : Error(error_));
+ return RespondNow(RunSync() ? ArgumentList(results_.Pass()) : Error(error_));
}
// static
« no previous file with comments | « chrome/browser/extensions/api/identity/identity_api.cc ('k') | extensions/browser/api/runtime/runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698