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

Unified Diff: third_party/WebKit/Source/platform/LayoutTestSupport.cpp

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase 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 | « third_party/WebKit/Source/platform/Language.cpp ('k') | third_party/WebKit/Source/platform/Length.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/LayoutTestSupport.cpp
diff --git a/third_party/WebKit/Source/platform/LayoutTestSupport.cpp b/third_party/WebKit/Source/platform/LayoutTestSupport.cpp
index 53b2a97ada52f12a69436d8ba7634295c73a86fc..81cc1e44401e6191b0b426556326fad156208d0f 100644
--- a/third_party/WebKit/Source/platform/LayoutTestSupport.cpp
+++ b/third_party/WebKit/Source/platform/LayoutTestSupport.cpp
@@ -51,7 +51,7 @@ bool LayoutTestSupport::IsMockThemeEnabledForTest() {
}
void LayoutTestSupport::SetMockThemeEnabledForTest(bool value) {
- ASSERT(g_is_running_layout_test);
+ DCHECK(g_is_running_layout_test);
g_is_mock_theme_enabled = value;
}
« no previous file with comments | « third_party/WebKit/Source/platform/Language.cpp ('k') | third_party/WebKit/Source/platform/Length.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698