[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.18-1-697-g2f78b87
jorlow at chromium.org
jorlow at chromium.org
Wed Jan 20 22:25:32 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit 83a37d391df096b38fd2eb197318437c4a16e7ca
Author: jorlow at chromium.org <jorlow at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Jan 15 06:55:52 2010 +0000
2010-01-14 Jeremy Orlow <jorlow at chromium.org>
Reviewed by Oliver Hunt.
[Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
https://bugs.webkit.org/show_bug.cgi?id=33704
* src/StorageNamespaceProxy.cpp:
(WebCore::StorageNamespace::localStorageNamespace):
(WebCore::StorageNamespace::sessionStorageNamespace):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 3673236..00a8c32 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,14 @@
+2010-01-14 Jeremy Orlow <jorlow at chromium.org>
+
+ Reviewed by Oliver Hunt.
+
+ [Chromium] Forgot to adopt a ref counted object in StorageNamespaceProxy
+ https://bugs.webkit.org/show_bug.cgi?id=33704
+
+ * src/StorageNamespaceProxy.cpp:
+ (WebCore::StorageNamespace::localStorageNamespace):
+ (WebCore::StorageNamespace::sessionStorageNamespace):
+
2010-01-14 Marcus Bulach <bulach at chromium.org>
Reviewed by Dimitri Glazkov.
diff --git a/WebKit/chromium/src/StorageNamespaceProxy.cpp b/WebKit/chromium/src/StorageNamespaceProxy.cpp
index fed74ae..cded509 100644
--- a/WebKit/chromium/src/StorageNamespaceProxy.cpp
+++ b/WebKit/chromium/src/StorageNamespaceProxy.cpp
@@ -44,14 +44,14 @@ namespace WebCore {
PassRefPtr<StorageNamespace> StorageNamespace::localStorageNamespace(const String& path, unsigned quota)
{
- return new StorageNamespaceProxy(WebKit::webKitClient()->createLocalStorageNamespace(path, quota));
+ return adoptRef(new StorageNamespaceProxy(WebKit::webKitClient()->createLocalStorageNamespace(path, quota)));
}
PassRefPtr<StorageNamespace> StorageNamespace::sessionStorageNamespace(Page* page)
{
WebKit::ChromeClientImpl* chromeClientImpl = static_cast<WebKit::ChromeClientImpl*>(page->chrome()->client());
WebKit::WebViewClient* webViewClient = chromeClientImpl->webView()->client();
- return new StorageNamespaceProxy(webViewClient->createSessionStorageNamespace());
+ return adoptRef(new StorageNamespaceProxy(webViewClient->createSessionStorageNamespace()));
}
StorageNamespaceProxy::StorageNamespaceProxy(WebKit::WebStorageNamespace* storageNamespace)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list