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

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

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation. 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/DatabaseClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/DatabaseClientImpl.cpp b/third_party/WebKit/Source/web/DatabaseClientImpl.cpp
index 44a05c70cb0459dcbae93f7f7ac2a10e8451f705..e15008517f48328af51263b0eeccae5e31aee941 100644
--- a/third_party/WebKit/Source/web/DatabaseClientImpl.cpp
+++ b/third_party/WebKit/Source/web/DatabaseClientImpl.cpp
@@ -53,7 +53,7 @@ DEFINE_TRACE(DatabaseClientImpl)
bool DatabaseClientImpl::allowDatabase(ExecutionContext* executionContext, const String& name, const String& displayName, unsigned long estimatedSize)
{
- ASSERT(executionContext->isContextThread());
+ DCHECK(executionContext->isContextThread());
Document* document = toDocument(executionContext);
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame());
if (!webFrame)

Powered by Google App Engine
This is Rietveld 408576698