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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/Nullable.h

Issue 2887883002: Replace ASSERT with DCHECK in Nullable (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/Nullable.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/Nullable.h b/third_party/WebKit/Source/bindings/core/v8/Nullable.h
index 89a17642dba0fd245f776b7e184e6c7262fd413d..c3e8b5f2c513568198599bd719a4bed3c7d3cf7d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/Nullable.h
+++ b/third_party/WebKit/Source/bindings/core/v8/Nullable.h
@@ -52,11 +52,11 @@ class Nullable {
}
const T& Get() const {
- ASSERT(!is_null_);
+ DCHECK(!is_null_);
return value_;
}
T& Get() {
- ASSERT(!is_null_);
+ DCHECK(!is_null_);
return value_;
}
bool IsNull() const { return is_null_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698