summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/bindings_utils.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 23:01:20 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 23:01:20 +0000
commit42ff47b781b72643d2c5a2c4fe2159b4c3e20347 (patch)
tree091ea301fdd6bdb3ae280f015571bfb4a0da11b6 /chrome/renderer/extensions/bindings_utils.cc
parent0fcfb2a1252c8665c8078aa1ccd94b5153a92f18 (diff)
downloadchromium_src-42ff47b781b72643d2c5a2c4fe2159b4c3e20347.zip
chromium_src-42ff47b781b72643d2c5a2c4fe2159b4c3e20347.tar.gz
chromium_src-42ff47b781b72643d2c5a2c4fe2159b4c3e20347.tar.bz2
Change #ifdef _DEBUG test to #ifndef NDEBUG test.
BUG=None TEST=trybots Review URL: http://codereview.chromium.org/5991010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/bindings_utils.cc')
-rw-r--r--chrome/renderer/extensions/bindings_utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/extensions/bindings_utils.cc b/chrome/renderer/extensions/bindings_utils.cc
index 4776966..1cc5285 100644
--- a/chrome/renderer/extensions/bindings_utils.cc
+++ b/chrome/renderer/extensions/bindings_utils.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -62,7 +62,7 @@ v8::Handle<v8::Value> ExtensionBase::GetChromeHidden(
hidden = v8::Object::New();
global->SetHiddenValue(v8::String::New(kChromeHidden), hidden);
-#ifdef _DEBUG
+#ifndef NDEBUG
// Tell extension_process_bindings.js to validate callbacks and events
// against their schema definitions in api/extension_api.json.
v8::Local<v8::Object>::Cast(hidden)