diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 21:06:39 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-21 21:06:39 +0000 |
commit | 29342eaac58ffa73eb150a19bd0ab408f1c00ef4 (patch) | |
tree | e3386c264fd2371ebf267f61c9caa5bdfd7fd252 /chrome/browser/debugger | |
parent | cc963f059ac84c9b2427082ca28db2cdeef3080a (diff) | |
download | chromium_src-29342eaac58ffa73eb150a19bd0ab408f1c00ef4.zip chromium_src-29342eaac58ffa73eb150a19bd0ab408f1c00ef4.tar.gz chromium_src-29342eaac58ffa73eb150a19bd0ab408f1c00ef4.tar.bz2 |
Fix Linux build
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16654 0039d316-1c4b-4281-b951-d872f2087c98
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); } ///////////////////////////////////////////// |