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

Unified Diff: third_party/WebKit/Source/web/WebGeolocationController.cpp

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 years, 9 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
Index: third_party/WebKit/Source/web/WebGeolocationController.cpp
diff --git a/third_party/WebKit/Source/web/WebGeolocationController.cpp b/third_party/WebKit/Source/web/WebGeolocationController.cpp
index 1c9f17a7f7a05ec27460508999bfc5c3d3743e4f..8021a926ded553663fda6a1923f79feb30afad0e 100644
--- a/third_party/WebKit/Source/web/WebGeolocationController.cpp
+++ b/third_party/WebKit/Source/web/WebGeolocationController.cpp
@@ -46,8 +46,8 @@ public:
static GeolocationController& controller(const WebPrivatePtr<GeolocationControllerPrivate>& controller)
{
- ASSERT(!controller.isNull());
- ASSERT(controller->m_controller);
+ DCHECK(!controller.isNull());
+ DCHECK(controller->m_controller);
return *controller->m_controller;
}

Powered by Google App Engine
This is Rietveld 408576698