| Index: chrome/browser/extensions/extension_function.cc
|
| diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc
|
| index b8aaae1cbe2d2ee7421e5f9ca0574976942c28b1..27ce5ebc378348f5a3e541f101f825c7725a3fe2 100644
|
| --- a/chrome/browser/extensions/extension_function.cc
|
| +++ b/chrome/browser/extensions/extension_function.cc
|
| @@ -9,8 +9,8 @@
|
| #include "chrome/browser/extensions/extension_function_dispatcher.h"
|
|
|
| void AsyncExtensionFunction::SetArgs(const Value* args) {
|
| - DCHECK(!args_); // Should only be called once.
|
| - args_ = args->DeepCopy();
|
| + DCHECK(!args_.get()); // Should only be called once.
|
| + args_.reset(args->DeepCopy());
|
| }
|
|
|
| const std::string AsyncExtensionFunction::GetResult() {
|
|
|