Unreviewed, Fix build break since r184930.
authorgyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 May 2015 09:40:36 +0000 (09:40 +0000)
committergyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 May 2015 09:40:36 +0000 (09:40 +0000)
* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::createTransientLocalStorageMap): Pass a pointer of SecurityOrigin
in isSameSchemeHostPort().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@184952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/Storage/StorageManager.cpp

index 5554811..78e9462 100644 (file)
@@ -1,3 +1,11 @@
+2015-05-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
+
+        Unreviewed, Fix build break since r184930.
+
+        * UIProcess/Storage/StorageManager.cpp:
+        (WebKit::StorageManager::createTransientLocalStorageMap): Pass a pointer of SecurityOrigin
+        in isSameSchemeHostPort().
+
 2015-05-28  Zan Dobersek  <zdobersek@igalia.com>
 
         Unreviewed. Fixing the build after r184950.
index 8b3ee31..98c602c 100644 (file)
@@ -750,7 +750,7 @@ void StorageManager::createTransientLocalStorageMap(IPC::Connection& connection,
         Ref<StorageArea> area = *it->value;
         if (!area->isSessionStorage())
             continue;
-        if (!origin->isSameSchemeHostPort(area->securityOrigin()))
+        if (!origin->isSameSchemeHostPort(&area->securityOrigin()))
             continue;
         m_storageAreasByConnection.remove(it);
         m_storageAreasByConnection.add({ &connection, storageMapID }, WTF::move(area));