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

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

Issue 2375873003: Make DOMWindowProperty::m_frame private (Closed)
Patch Set: Created 4 years, 3 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/Storage.cpp
diff --git a/third_party/WebKit/Source/modules/storage/Storage.cpp b/third_party/WebKit/Source/modules/storage/Storage.cpp
index 372f916d90bf88df0838c07375930a8f054d85f5..e73646a4e64c60eb7107bf340da1874c8274ac24 100644
--- a/third_party/WebKit/Source/modules/storage/Storage.cpp
+++ b/third_party/WebKit/Source/modules/storage/Storage.cpp
@@ -40,8 +40,8 @@ Storage::Storage(LocalFrame* frame, StorageArea* storageArea)
: DOMWindowProperty(frame)
, m_storageArea(storageArea)
{
- ASSERT(m_frame);
- ASSERT(m_storageArea);
+ DCHECK(frame);
+ DCHECK(m_storageArea);
}
String Storage::anonymousNamedGetter(const AtomicString& name, ExceptionState& exceptionState)
« no previous file with comments | « third_party/WebKit/Source/modules/storage/Storage.h ('k') | third_party/WebKit/Source/modules/vr/NavigatorVR.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698