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

Unified Diff: Source/core/storage/StorageEvent.h

Issue 85263002: Improve handling of dictionary conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have conversion methods take a context argument; elaborate error msgs further. Created 7 years, 1 month 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: Source/core/storage/StorageEvent.h
diff --git a/Source/core/storage/StorageEvent.h b/Source/core/storage/StorageEvent.h
index 958063229d963f003473986f604613e5ce62f677..2e6743a79d17e3009122d08437dfb08a844c25a3 100644
--- a/Source/core/storage/StorageEvent.h
+++ b/Source/core/storage/StorageEvent.h
@@ -55,6 +55,7 @@ public:
const String& newValue() const { return m_newValue; }
const String& url() const { return m_url; }
Storage* storageArea() const { return m_storageArea.get(); }
+ Storage* storageArea(bool& isNull) const { isNull = !m_storageArea; return m_storageArea.get(); }
void initStorageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);

Powered by Google App Engine
This is Rietveld 408576698