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

Unified Diff: third_party/WebKit/Source/modules/storage/StorageArea.cpp

Issue 2811523002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/storage (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
Index: third_party/WebKit/Source/modules/storage/StorageArea.cpp
diff --git a/third_party/WebKit/Source/modules/storage/StorageArea.cpp b/third_party/WebKit/Source/modules/storage/StorageArea.cpp
index 04546fa004e5bc4e1cc65830644819e05a4f50b5..bf60a6e72dd3f407292ebef188891070055a00e8 100644
--- a/third_party/WebKit/Source/modules/storage/StorageArea.cpp
+++ b/third_party/WebKit/Source/modules/storage/StorageArea.cpp
@@ -245,7 +245,7 @@ void StorageArea::DispatchSessionStorageEvent(
bool StorageArea::IsEventSource(Storage* storage,
WebStorageArea* source_area_instance) {
- ASSERT(storage);
+ DCHECK(storage);
StorageArea* area = storage->Area();
return area->storage_area_.get() == source_area_instance;
}
« no previous file with comments | « third_party/WebKit/Source/modules/storage/Storage.cpp ('k') | third_party/WebKit/Source/modules/storage/StorageNamespace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698