summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 21:06:39 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 21:06:39 +0000
commit29342eaac58ffa73eb150a19bd0ab408f1c00ef4 (patch)
treee3386c264fd2371ebf267f61c9caa5bdfd7fd252 /chrome/browser/debugger
parentcc963f059ac84c9b2427082ca28db2cdeef3080a (diff)
downloadchromium_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.cc4
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);
}
/////////////////////////////////////////////