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

Unified Diff: cc/scoped_ptr_hash_map.h

Issue 11196014: Revert "cc: Switch to Chromium DCHECKs LOGs" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
« no previous file with comments | « cc/scheduler_unittest.cc ('k') | cc/scoped_ptr_vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scoped_ptr_hash_map.h
diff --git a/cc/scoped_ptr_hash_map.h b/cc/scoped_ptr_hash_map.h
index 60eadee97bcfed657d1ea5a0c0870b61cb9212be..1cea5c0ace536c39ce044fbf4bd329641be833d4 100644
--- a/cc/scoped_ptr_hash_map.h
+++ b/cc/scoped_ptr_hash_map.h
@@ -7,7 +7,6 @@
#include "base/basictypes.h"
#include "base/hash_tables.h"
-#include "base/logging.h"
#include "base/stl_util.h"
#include "base/memory/scoped_ptr.h"
@@ -67,7 +66,7 @@ class ScopedPtrHashMap {
}
scoped_ptr<Value> take(iterator it) {
- DCHECK(it != data_.end());
+ ASSERT(it != data_.end());
if (it == data_.end())
return scoped_ptr<Value>(NULL);
@@ -87,7 +86,7 @@ class ScopedPtrHashMap {
}
scoped_ptr<Value> take_and_erase(iterator it) {
- DCHECK(it != data_.end());
+ ASSERT(it != data_.end());
if (it == data_.end())
return scoped_ptr<Value>(NULL);
« no previous file with comments | « cc/scheduler_unittest.cc ('k') | cc/scoped_ptr_vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698