diff options
Diffstat (limited to 'deps/v8/src/inspector/v8-console.h')
-rw-r--r-- | deps/v8/src/inspector/v8-console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/inspector/v8-console.h b/deps/v8/src/inspector/v8-console.h index 03d89ced10..4d38c51a2a 100644 --- a/deps/v8/src/inspector/v8-console.h +++ b/deps/v8/src/inspector/v8-console.h @@ -106,14 +106,14 @@ class V8Console : public v8::debug::ConsoleDelegate { int)> static void call(const v8::FunctionCallbackInfo<v8::Value>& info) { CommandLineAPIData* data = static_cast<CommandLineAPIData*>( - info.Data().As<v8::ArrayBuffer>()->GetContents().Data()); + info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data()); (data->first->*func)(info, data->second); } template <void (V8Console::*func)(const v8::debug::ConsoleCallArguments&, const v8::debug::ConsoleContext&)> static void call(const v8::FunctionCallbackInfo<v8::Value>& info) { CommandLineAPIData* data = static_cast<CommandLineAPIData*>( - info.Data().As<v8::ArrayBuffer>()->GetContents().Data()); + info.Data().As<v8::ArrayBuffer>()->GetBackingStore()->Data()); v8::debug::ConsoleCallArguments args(info); (data->first->*func)(args, v8::debug::ConsoleContext()); } |