Not reviewed, build fix.
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Jan 2008 07:50:44 +0000 (07:50 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Jan 2008 07:50:44 +0000 (07:50 +0000)
        - more build fixing

        * WebDatabaseManager.cpp:
        * WebSecurityOrigin.h:

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

WebKit/win/ChangeLog
WebKit/win/WebDatabaseManager.cpp
WebKit/win/WebSecurityOrigin.h

index 65fb309823d4ea3ab7cc10350a85a1dd274e722c..c8e171c777fdfcaeee649318e57f84627abe5ce1 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-10  Maciej Stachowiak  <mjs@apple.com>
+
+        Not reviewed, build fix.
+        
+        - more build fixing
+
+        * WebDatabaseManager.cpp:
+        * WebSecurityOrigin.h:
+
 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
 
         Not reviewed, build fix.
index 5f5592b10dc0ff096e860dd53b6ff6ef35303037..e3a31276f0404d27feba3e5b83ae5207100d7fdd 100644 (file)
@@ -187,7 +187,7 @@ ULONG STDMETHODCALLTYPE WebDatabaseManager::Release()
     return newRef;\r
 }\r
 \r
-template<> struct COMVariantSetter<SecurityOrigin*> : COMIUnknownVariantSetter<WebSecurityOrigin, SecurityOrigin*> {};\r
+template<> struct COMVariantSetter<RefPtr<SecurityOrigin> > : COMIUnknownVariantSetter<WebSecurityOrigin, RefPtr<SecurityOrigin> > {};\r
 \r
 // IWebDatabaseManager -------------------------------------------------------------\r
 HRESULT STDMETHODCALLTYPE WebDatabaseManager::sharedWebDatabaseManager( \r
index f49e66d2194073ed099d05e10bba901c573eae68..c8b860104c43b9d80a5736d29093475a7f4d01d3 100644 (file)
@@ -36,6 +36,7 @@ class DECLSPEC_UUID("6EB8D98F-2723-4472-88D3-5936F9D6E631") WebSecurityOrigin :
 public:\r
     // WebSecurityOrigin\r
     static WebSecurityOrigin* createInstance(WebCore::SecurityOrigin* origin);\r
+    static WebSecurityOrigin* createInstance(RefPtr<WebCore::SecurityOrigin> origin) { return createInstance(origin.get()); }\r
     WebCore::SecurityOrigin* securityOrigin() const { return m_securityOrigin.get(); }\r
 \r
     // IUnknown\r