diff options
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r-- | chrome/browser/debugger/debugger_node.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_node.cc b/chrome/browser/debugger/debugger_node.cc index d6ba0e6..838490c 100644 --- a/chrome/browser/debugger/debugger_node.cc +++ b/chrome/browser/debugger/debugger_node.cc @@ -122,8 +122,8 @@ v8::Handle<v8::Value> ChromeNode::PropGetter(v8::Handle<v8::String> prop, return (new FunctionNode<DebuggerShell>(DebuggerShell::SetDebuggerBreak, debugger_))->NewInstance(); } - return (prop->Equals(v8::String::New("foo"))) ? - static_cast<v8::Handle<v8::Value> >(v8::Undefined()) : prop; + return static_cast<v8::Handle<v8::Value> >( + prop->Equals(v8::String::New("foo")) ? v8::Undefined() : prop); } ///////////////////////////////////////////// |