-
sfalken@apple.com authored
2009-04-21 Steve Falkenburg <sfalken@apple.com> Add registry-free CoCreateInstance API for WebKit clients: WebKitCreateInstance. Manifest-based registry-free COM continues to work for clients that have embedded manifests with isolated COM information. Reviewed by Adam Roben. * WebKit.vcproj/WebKit.def: Added WebKitCreateInstance. * WebKit.vcproj/WebKit.vcproj: Link against rpcrt4.dll for UUID hashing. * WebKit.vcproj/WebKit_debug.def: Added WebKitCreateInstance. * WebKitCOMAPI.cpp: Added. (CLSIDHash::hash): (CLSIDHash::equal): (CLSIDHashTraits::constructDeletedValue): (CLSIDHashTraits::isDeletedValue): (classFactory): (WebKitCreateInstance): New API. * WebKitCOMAPI.h: Added. WebKitTools: 2009-04-21 Steve Falkenburg <sfalken@apple.com> Use new WebKitCreateInstance API instead of CoCreateInstance or COMPtr's createInstance to instantiate WebKit COM objects. Reviewed by Adam Roben. * DumpRenderTree/win/DumpRenderTree.cpp: (initialize): (runTest): (createWebViewAndOffscreenWindow): (main): * DumpRenderTree/win/DumpRenderTree.vcproj: * DumpRenderTree/win/GCControllerWin.cpp: (GCController::collect): (GCController::collectOnAlternateThread): (GCController::getJSObjectCount): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::keepWebHistory): (LayoutTestController::webHistoryItemCount): (LayoutTestController::setIconDatabaseEnabled): * DumpRenderTree/win/WorkQueueItemWin.cpp: (LoadItem::invoke): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
77458d83