summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/debugger/debugger_node.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_node.cc b/chrome/browser/debugger/debugger_node.cc
index 838490c..aef58a7 100644
--- a/chrome/browser/debugger/debugger_node.cc
+++ b/chrome/browser/debugger/debugger_node.cc
@@ -122,8 +122,9 @@ v8::Handle<v8::Value> ChromeNode::PropGetter(v8::Handle<v8::String> prop,
return (new FunctionNode<DebuggerShell>(DebuggerShell::SetDebuggerBreak,
debugger_))->NewInstance();
}
- return static_cast<v8::Handle<v8::Value> >(
- prop->Equals(v8::String::New("foo")) ? v8::Undefined() : prop);
+ return prop->Equals(v8::String::New("foo")) ?
+ static_cast<v8::Handle<v8::Value> >(v8::Undefined()) :
+ static_cast<v8::Handle<v8::Value> >(prop);
}
/////////////////////////////////////////////