| Index: extensions/renderer/api_bindings_system_unittest.h
|
| diff --git a/extensions/renderer/api_bindings_system_unittest.h b/extensions/renderer/api_bindings_system_unittest.h
|
| index f635d79d9877bfdf3e6208b6223b7fa7c1a91582..c3a7611db2f3d32859361d2b4113ad659fe5ed23 100644
|
| --- a/extensions/renderer/api_bindings_system_unittest.h
|
| +++ b/extensions/renderer/api_bindings_system_unittest.h
|
| @@ -71,10 +71,11 @@ class APIBindingsSystemTest : public APIBindingTest {
|
| const std::string& expected_arguments);
|
|
|
| // Wraps the given |script source| in (function(obj) { ... }) and executes
|
| - // the result function, passing in |object| for an argument.
|
| - void CallFunctionOnObject(v8::Local<v8::Context> context,
|
| - v8::Local<v8::Object> object,
|
| - const std::string& script_source);
|
| + // the result function, passing in |object| for an argument. Returns the
|
| + // result of calling the function.
|
| + v8::Local<v8::Value> CallFunctionOnObject(v8::Local<v8::Context> context,
|
| + v8::Local<v8::Object> object,
|
| + const std::string& script_source);
|
|
|
| const APIRequestHandler::Request* last_request() const {
|
| return last_request_.get();
|
|
|