Index: chrome/browser/extensions/extension_function.cc |
diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc |
index 054c882b046c414e93acaf88e766da3eb66e27f5..9f0d065cd1d9d128ebbf7455e3aebf175be1d347 100644 |
--- a/chrome/browser/extensions/extension_function.cc |
+++ b/chrome/browser/extensions/extension_function.cc |
@@ -40,7 +40,7 @@ AsyncExtensionFunction::~AsyncExtensionFunction() { |
void AsyncExtensionFunction::SetArgs(const ListValue* args) { |
DCHECK(!args_.get()); // Should only be called once. |
- args_.reset(static_cast<ListValue*>(args->DeepCopy())); |
+ args_.reset(args->DeepCopy()); |
} |
const std::string AsyncExtensionFunction::GetResult() { |