diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 21:15:44 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 21:15:44 +0000 |
commit | 0c86472602ed831e15caf15c69a09c3dcf97dd6d (patch) | |
tree | 79fcc9818d4e5eb2b4f6d6c103e25a23324bd885 /chrome/browser/debugger | |
parent | 29342eaac58ffa73eb150a19bd0ab408f1c00ef4 (diff) | |
download | chromium_src-0c86472602ed831e15caf15c69a09c3dcf97dd6d.zip chromium_src-0c86472602ed831e15caf15c69a09c3dcf97dd6d.tar.gz chromium_src-0c86472602ed831e15caf15c69a09c3dcf97dd6d.tar.bz2 |
Take 2 on fixing Linux build
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r-- | chrome/browser/debugger/debugger_node.cc | 5 |
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); } ///////////////////////////////////////////// |