| Index: chrome/browser/extensions/api/idltest/idltest_api.cc
|
| diff --git a/chrome/browser/extensions/api/idltest/idltest_api.cc b/chrome/browser/extensions/api/idltest/idltest_api.cc
|
| index 3f280cf5e194423aa2b0e98e6db7ee7823378b71..7b341530d7459be41316cb3348649471c261031a 100644
|
| --- a/chrome/browser/extensions/api/idltest/idltest_api.cc
|
| +++ b/chrome/browser/extensions/api/idltest/idltest_api.cc
|
| @@ -8,7 +8,6 @@
|
|
|
| #include <memory>
|
|
|
| -#include "base/memory/ptr_util.h"
|
| #include "base/values.h"
|
|
|
| using base::BinaryValue;
|
| @@ -43,8 +42,6 @@ bool IdltestSendArrayBufferViewFunction::RunSync() {
|
|
|
| bool IdltestGetArrayBufferFunction::RunSync() {
|
| std::string hello = "hello world";
|
| - BinaryValue* output =
|
| - BinaryValue::CreateWithCopiedBuffer(hello.c_str(), hello.size());
|
| - SetResult(base::WrapUnique(output));
|
| + SetResult(BinaryValue::CreateWithCopiedBuffer(hello.c_str(), hello.size()));
|
| return true;
|
| }
|
|
|