Changeset 57615 in webkit


Ignore:
Timestamp:
Apr 14, 2010 4:01:22 PM (14 years ago)
Author:
Adam Roben
Message:

Expose DOMWrapperWorld::unregisterWorld as WebKit SPI on Windows

Fixes <http://webkit.org/b/37619>.

Reviewed by Steve Falkenburg.

  • Interfaces/IWebScriptWorld.idl: Added unregisterWorld.
  • Interfaces/WebKit.idl: Touched to force a build.
  • WebScriptWorld.cpp:

(WebScriptWorld::unregisterWorld):

  • WebScriptWorld.h:

Added. Just calls through to DOMWrapperWorld::unregisterWorld.

Location:
trunk/WebKit/win
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/win/ChangeLog

    r57537 r57615  
     12010-04-14  Adam Roben  <aroben@apple.com>
     2
     3        Expose DOMWrapperWorld::unregisterWorld as WebKit SPI on Windows
     4
     5        Fixes <http://webkit.org/b/37619>.
     6
     7        Reviewed by Steve Falkenburg.
     8
     9        * Interfaces/IWebScriptWorld.idl: Added unregisterWorld.
     10
     11        * Interfaces/WebKit.idl: Touched to force a build.
     12
     13        * WebScriptWorld.cpp:
     14        (WebScriptWorld::unregisterWorld):
     15        * WebScriptWorld.h:
     16        Added. Just calls through to DOMWrapperWorld::unregisterWorld.
     17
    1182010-04-12  Timothy Hatcher  <timothy@apple.com>
    219
  • trunk/WebKit/win/Interfaces/IWebScriptWorld.idl

    r53473 r57615  
    3838    HRESULT standardWorld([out, retval] IWebScriptWorld**);
    3939    [local] HRESULT scriptWorldForGlobalContext([in] JSGlobalContextRef, [out, retval] IWebScriptWorld**);
     40    HRESULT unregisterWorld();
    4041}
  • trunk/WebKit/win/Interfaces/WebKit.idl

    r57611 r57615  
    295295    }
    296296}
    297 
  • trunk/WebKit/win/WebScriptWorld.cpp

    r53475 r57615  
    137137    return findOrCreateWorld(currentWorld(toJS(context))).copyRefTo(outWorld);
    138138}
     139
     140HRESULT WebScriptWorld::unregisterWorld()
     141{
     142    m_world->unregisterWorld();
     143    return S_OK;
     144}
  • trunk/WebKit/win/WebScriptWorld.h

    r53470 r57615  
    5353    virtual HRESULT STDMETHODCALLTYPE standardWorld(IWebScriptWorld**);
    5454    virtual HRESULT STDMETHODCALLTYPE scriptWorldForGlobalContext(JSGlobalContextRef, IWebScriptWorld**);
     55    virtual HRESULT STDMETHODCALLTYPE unregisterWorld();
    5556
    5657    ULONG m_refCount;
Note: See TracChangeset for help on using the changeset viewer.