| Index: third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp b/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp
|
| index 6be5c93df6bb9832835f2df504f114790e24fbcb..4a8d838a9c77db527d0ae5ba030428ea65c9b0c6 100644
|
| --- a/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/v8/V8RuntimeAgentImpl.cpp
|
| @@ -47,6 +47,11 @@ namespace V8RuntimeAgentImplState {
|
| static const char customObjectFormatterEnabled[] = "customObjectFormatterEnabled";
|
| };
|
|
|
| +inline static bool asBool(const bool* const b)
|
| +{
|
| + return b ? *b : false;
|
| +}
|
| +
|
| PassOwnPtr<V8RuntimeAgent> V8RuntimeAgent::create(InjectedScriptManager* injectedScriptManager, V8Debugger* debugger)
|
| {
|
| return adoptPtr(new V8RuntimeAgentImpl(injectedScriptManager, static_cast<V8DebuggerImpl*>(debugger)));
|
|
|