summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/WebKit/Source/modules/storage/StorageArea.cpp4
-rw-r--r--third_party/WebKit/Source/modules/storage/StorageArea.h5
-rw-r--r--third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp9
-rw-r--r--third_party/WebKit/public/web/WebStorageEventDispatcher.h5
4 files changed, 10 insertions, 13 deletions
diff --git a/third_party/WebKit/Source/modules/storage/StorageArea.cpp b/third_party/WebKit/Source/modules/storage/StorageArea.cpp
index 35e82b6..fae4403 100644
--- a/third_party/WebKit/Source/modules/storage/StorageArea.cpp
+++ b/third_party/WebKit/Source/modules/storage/StorageArea.cpp
@@ -159,7 +159,7 @@ size_t StorageArea::memoryBytesUsedByCache()
return m_storageArea->memoryBytesUsedByCache();
}
-void StorageArea::dispatchLocalStorageEvent(const String& key, const String& oldValue, const String& newValue, SecurityOrigin* securityOrigin, const KURL& pageURL, WebStorageArea* sourceAreaInstance, bool originatedInProcess)
+void StorageArea::dispatchLocalStorageEvent(const String& key, const String& oldValue, const String& newValue, SecurityOrigin* securityOrigin, const KURL& pageURL, WebStorageArea* sourceAreaInstance)
{
// Iterate over all pages that have a StorageNamespaceController supplement.
for (Page* page : Page::ordinaryPages()) {
@@ -190,7 +190,7 @@ static Page* findPageWithSessionStorageNamespace(const WebStorageNamespace& sess
return nullptr;
}
-void StorageArea::dispatchSessionStorageEvent(const String& key, const String& oldValue, const String& newValue, SecurityOrigin* securityOrigin, const KURL& pageURL, const WebStorageNamespace& sessionNamespace, WebStorageArea* sourceAreaInstance, bool originatedInProcess)
+void StorageArea::dispatchSessionStorageEvent(const String& key, const String& oldValue, const String& newValue, SecurityOrigin* securityOrigin, const KURL& pageURL, const WebStorageNamespace& sessionNamespace, WebStorageArea* sourceAreaInstance)
{
Page* page = findPageWithSessionStorageNamespace(sessionNamespace);
if (!page)
diff --git a/third_party/WebKit/Source/modules/storage/StorageArea.h b/third_party/WebKit/Source/modules/storage/StorageArea.h
index 6415753..eed3283 100644
--- a/third_party/WebKit/Source/modules/storage/StorageArea.h
+++ b/third_party/WebKit/Source/modules/storage/StorageArea.h
@@ -68,10 +68,9 @@ public:
size_t memoryBytesUsedByCache();
static void dispatchLocalStorageEvent(const String& key, const String& oldValue, const String& newValue,
- SecurityOrigin*, const KURL& pageURL, WebStorageArea* sourceAreaInstance, bool originatedInProcess);
+ SecurityOrigin*, const KURL& pageURL, WebStorageArea* sourceAreaInstance);
static void dispatchSessionStorageEvent(const String& key, const String& oldValue, const String& newValue,
- SecurityOrigin*, const KURL& pageURL, const WebStorageNamespace&,
- WebStorageArea* sourceAreaInstance, bool originatedInProcess);
+ SecurityOrigin*, const KURL& pageURL, const WebStorageNamespace&, WebStorageArea* sourceAreaInstance);
DECLARE_TRACE();
diff --git a/third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp b/third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp
index 8888ac4..c0a333f 100644
--- a/third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp
+++ b/third_party/WebKit/Source/web/WebStorageEventDispatcherImpl.cpp
@@ -42,25 +42,24 @@ namespace blink {
void WebStorageEventDispatcher::dispatchLocalStorageEvent(
const WebString& key, const WebString& oldValue,
const WebString& newValue, const WebURL& origin,
- const WebURL& pageURL, WebStorageArea* sourceAreaInstance,
- bool originatedInProcess)
+ const WebURL& pageURL, WebStorageArea* sourceAreaInstance)
{
RefPtr<SecurityOrigin> securityOrigin = SecurityOrigin::create(origin);
StorageArea::dispatchLocalStorageEvent(
key, oldValue, newValue, securityOrigin.get(), pageURL,
- sourceAreaInstance, originatedInProcess);
+ sourceAreaInstance);
}
void WebStorageEventDispatcher::dispatchSessionStorageEvent(
const WebString& key, const WebString& oldValue,
const WebString& newValue, const WebURL& origin,
const WebURL& pageURL, const WebStorageNamespace& sessionNamespace,
- WebStorageArea* sourceAreaInstance, bool originatedInProcess)
+ WebStorageArea* sourceAreaInstance)
{
RefPtr<SecurityOrigin> securityOrigin = SecurityOrigin::create(origin);
StorageArea::dispatchSessionStorageEvent(
key, oldValue, newValue, securityOrigin.get(), pageURL,
- sessionNamespace, sourceAreaInstance, originatedInProcess);
+ sessionNamespace, sourceAreaInstance);
}
} // namespace blink
diff --git a/third_party/WebKit/public/web/WebStorageEventDispatcher.h b/third_party/WebKit/public/web/WebStorageEventDispatcher.h
index aa681fd..4090e88 100644
--- a/third_party/WebKit/public/web/WebStorageEventDispatcher.h
+++ b/third_party/WebKit/public/web/WebStorageEventDispatcher.h
@@ -45,15 +45,14 @@ public:
BLINK_EXPORT static void dispatchLocalStorageEvent(
const WebString& key, const WebString& oldValue,
const WebString& newValue, const WebURL& origin,
- const WebURL& pageUrl, WebStorageArea* sourceAreaInstance,
- bool originatedInProcess);
+ const WebURL& pageUrl, WebStorageArea* sourceAreaInstance);
// Dispatch a session storage event to appropiate documents.
BLINK_EXPORT static void dispatchSessionStorageEvent(
const WebString& key, const WebString& oldValue,
const WebString& newValue, const WebURL& origin,
const WebURL& pageUrl, const WebStorageNamespace&,
- WebStorageArea* sourceAreaInstance, bool originatedInProcess);
+ WebStorageArea* sourceAreaInstance);
private:
WebStorageEventDispatcher() { }