summaryrefslogtreecommitdiff
path: root/Source/WebKit/win/WebDatabaseManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/win/WebDatabaseManager.cpp')
-rw-r--r--Source/WebKit/win/WebDatabaseManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/WebKit/win/WebDatabaseManager.cpp b/Source/WebKit/win/WebDatabaseManager.cpp
index 6e687f193..15872e34f 100644
--- a/Source/WebKit/win/WebDatabaseManager.cpp
+++ b/Source/WebKit/win/WebDatabaseManager.cpp
@@ -401,8 +401,7 @@ void WebDatabaseManager::dispatchDidModifyDatabase(SecurityOrigin* origin, const
RetainPtr<CFMutableDictionaryRef> userInfo(AdoptCF, CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
static CFStringRef databaseNameKey = MarshallingHelpers::LPCOLESTRToCFStringRef(WebDatabaseNameKey);
- RetainPtr<CFStringRef> str(AdoptCF, databaseName.createCFString());
- CFDictionarySetValue(userInfo.get(), databaseNameKey, str.get());
+ CFDictionarySetValue(userInfo.get(), databaseNameKey, databaseName.createCFString().get());
COMPtr<CFDictionaryPropertyBag> userInfoBag = CFDictionaryPropertyBag::createInstance();
userInfoBag->setDictionary(userInfo.get());