Skip to content
  • commit-queue@webkit.org's avatar
    [Internals] Should be able to access corresponding Document object. · 7c2e4e38
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=76425
    
    .:
    
    Added exported symbols.
    
    Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-17
    Reviewed by Adam Barth.
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore:
    
    Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-17
    Reviewed by Adam Barth.
    
    - Allow FrameDestructionObserver to re-setting the Frame reference.
    - Make Internals a subclass of FrameDestructionObserver.
    
    Since Internals::reset() is called for each test, we can access
    the acive Frame object during the test. The frame reference will be
    used by coming changes.
    
    No new tests. Covered by existing tests.
    
    * WebCore.exp.in:
    * page/FrameDestructionObserver.cpp:
    (WebCore::FrameDestructionObserver::FrameDestructionObserver):
    (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
    (WebCore::FrameDestructionObserver::observe):
    * page/FrameDestructionObserver.h:
    * testing/Internals.cpp:
    (WebCore::Internals::Internals):
    (WebCore::Internals::reset):
    * testing/Internals.h:
    
    Source/WebKit2:
    
    Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-17
    Reviewed by Adam Barth.
    
    * win/WebKit2.def: Added exporting symbols.
    * win/WebKit2CFLite.def: Added exporting symbols.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7c2e4e38