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

Unified Diff: third_party/WebKit/Source/web/LocalFileSystemClient.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/LocalFileSystemClient.cpp
diff --git a/third_party/WebKit/Source/web/LocalFileSystemClient.cpp b/third_party/WebKit/Source/web/LocalFileSystemClient.cpp
index 6587418cb9f024b30d6101bf57845a7fdcce07f4..a48522ce72bcf0597b45968ccec2be9d2f35609a 100644
--- a/third_party/WebKit/Source/web/LocalFileSystemClient.cpp
+++ b/third_party/WebKit/Source/web/LocalFileSystemClient.cpp
@@ -53,19 +53,19 @@ LocalFileSystemClient::~LocalFileSystemClient()
bool LocalFileSystemClient::requestFileSystemAccessSync(ExecutionContext* context)
{
- ASSERT(context);
+ DCHECK(context);
if (context->isDocument()) {
ASSERT_NOT_REACHED();
return false;
}
- ASSERT(context->isWorkerGlobalScope());
+ DCHECK(context->isWorkerGlobalScope());
return WorkerContentSettingsClient::from(*toWorkerGlobalScope(context))->requestFileSystemAccessSync();
}
void LocalFileSystemClient::requestFileSystemAccessAsync(ExecutionContext* context, PassOwnPtr<ContentSettingCallbacks> callbacks)
{
- ASSERT(context);
+ DCHECK(context);
if (!context->isDocument()) {
ASSERT_NOT_REACHED();
return;

Powered by Google App Engine
This is Rietveld 408576698