Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(987)

Unified Diff: chrome/renderer/extensions/chrome_v8_context_set.cc

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/chrome_v8_context_set.cc
diff --git a/chrome/renderer/extensions/chrome_v8_context_set.cc b/chrome/renderer/extensions/chrome_v8_context_set.cc
index 391f3ad49d44e34c37c5fa65ede03a1f92f601b2..aeaf1d3241b8f42801de539c501ba4c67427587b 100644
--- a/chrome/renderer/extensions/chrome_v8_context_set.cc
+++ b/chrome/renderer/extensions/chrome_v8_context_set.cc
@@ -35,7 +35,7 @@ int ChromeV8ContextSet::size() const {
}
void ChromeV8ContextSet::Add(ChromeV8Context* context) {
- if (DCHECK_IS_ON()) {
+ if (DCHECK_IS_ON) {
// It's OK to insert the same context twice, but we should only ever have
// one ChromeV8Context per v8::Context.
for (ContextSet::iterator iter = contexts_.begin(); iter != contexts_.end();

Powered by Google App Engine
This is Rietveld 408576698