Chromium Code Reviews| Index: third_party/WebKit/Source/modules/storage/StorageEvent.cpp |
| diff --git a/third_party/WebKit/Source/modules/storage/StorageEvent.cpp b/third_party/WebKit/Source/modules/storage/StorageEvent.cpp |
| index 9100e475afe2615235d5045ea13c8bef84023b6f..865e4d6d04a144292ffbdd08bf8cc0bd516dcab6 100644 |
| --- a/third_party/WebKit/Source/modules/storage/StorageEvent.cpp |
| +++ b/third_party/WebKit/Source/modules/storage/StorageEvent.cpp |
| @@ -80,6 +80,11 @@ StorageEvent::StorageEvent(const AtomicString& type, const StorageEventInit& ini |
| m_storageArea = initializer.storageArea(); |
| } |
| +Storage* StorageEvent::storageArea() const |
| +{ |
| + return m_storageArea.get(); |
|
haraken
2015/11/19 01:37:26
BTW, get() is not needed to get a raw pointer from
peria
2015/11/19 03:57:51
Thank you for pointing it out, and I removed some
|
| +} |
| + |
| void StorageEvent::initStorageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea) |
| { |
| if (dispatched()) |