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

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

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 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/IndexedDBClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp b/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
index bf0bb00fe0c27a36aff91c9596070229737ef1ae..702436d686760e6a3d3550109b271212aa2f801d 100644
--- a/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
+++ b/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
@@ -48,8 +48,7 @@ IndexedDBClient* IndexedDBClientImpl::create() {
bool IndexedDBClientImpl::allowIndexedDB(ExecutionContext* context,
const String& name) {
DCHECK(context->isContextThread());
- ASSERT_WITH_SECURITY_IMPLICATION(context->isDocument() ||
- context->isWorkerGlobalScope());
+ SECURITY_DCHECK(context->isDocument() || context->isWorkerGlobalScope());
if (context->isDocument()) {
WebSecurityOrigin origin(context->getSecurityOrigin());
« no previous file with comments | « third_party/WebKit/Source/web/ContextFeaturesClientImpl.cpp ('k') | third_party/WebKit/Source/web/TextFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698