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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread 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 | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 9f73ac902c2d80f9adb733a1707256d0fd1b9c18..eceee5ecb51e42b2700207bd17a8d7737fb57405 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -130,7 +130,7 @@ void Deprecation::CountDeprecation(const LocalFrame* frame,
if (!page->GetUseCounter().HasRecordedMeasurement(feature)) {
page->GetUseCounter().RecordMeasurement(feature);
- ASSERT(!DeprecationMessage(feature).IsEmpty());
+ DCHECK(!DeprecationMessage(feature).IsEmpty());
ConsoleMessage* console_message =
ConsoleMessage::Create(kDeprecationMessageSource, kWarningMessageLevel,
DeprecationMessage(feature));
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/Frame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698