summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebIconFetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebIconFetcher.cpp')
-rw-r--r--WebKit/win/WebIconFetcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/win/WebIconFetcher.cpp b/WebKit/win/WebIconFetcher.cpp
index 99d1e24..fbc46af 100644
--- a/WebKit/win/WebIconFetcher.cpp
+++ b/WebKit/win/WebIconFetcher.cpp
@@ -46,7 +46,7 @@ public:
{
COMPtr<MemoryStream> memoryStream;
if (iconData)
- memoryStream.adoptRef(MemoryStream::createInstance(iconData));
+ memoryStream = MemoryStream::createInstance(iconData);
m_delegate->finishedLoadingIcon(m_fetcher, memoryStream.get());