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

Unified Diff: third_party/WebKit/public/platform/WebPrivatePtr.h

Issue 2826923002: Replace ASSERT and ASSERT_NOT_REACHED in third_party/Webkit/public (Closed)
Patch Set: Created 3 years, 8 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 | third_party/WebKit/public/web/WebTextDirection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebPrivatePtr.h
diff --git a/third_party/WebKit/public/platform/WebPrivatePtr.h b/third_party/WebKit/public/platform/WebPrivatePtr.h
index 6de994ec24fee715831ae951255919f3828cd5b9..1349d00c82d7d4890d4d3a0a6c859a35c6a22598 100644
--- a/third_party/WebKit/public/platform/WebPrivatePtr.h
+++ b/third_party/WebKit/public/platform/WebPrivatePtr.h
@@ -305,12 +305,12 @@ class WebPrivatePtr {
T* Get() const { return Storage().Get(); }
T& operator*() const {
- ASSERT(storage_);
+ DCHECK(storage_);
return *Get();
}
T* operator->() const {
- ASSERT(storage_);
+ DCHECK(storage_);
return Get();
}
#endif
« no previous file with comments | « no previous file | third_party/WebKit/public/web/WebTextDirection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698