Skip to content
  • commit-queue@webkit.org's avatar
    WebCore needs WEBCORE_TESTING macro to mark methods being exported for testing. · 241bd21d
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=90764
    
    Patch by Hajime Morrita <morrita@chromium.org> on 2012-07-16
    Reviewed by Adam Barth.
    
    .:
    
    Removed symbols which are now covered by WEBCORE_TESTING.
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore:
    
    Defined WEBCORE_TESTING based on USE(EXPORT_MACROS_FOR_TESTING) and
    applied it to FrameDestructionObserver.
    
    * bindings/js/JSDOMGlobalObject.h: Removed conflicting symbols
    * page/FrameDestructionObserver.h: Added WEBKIT_TESTING
    (FrameDestructionObserver):
    * platform/PlatformExportMacros.h:
    
    Source/WebKit2:
    
    Removed symbols which are now covered by WEBCORE_TESTING.
    
    * win/WebKit2.def:
    * win/WebKit2CFLite.def:
    
    Source/WTF:
    
    Added USE(EXPORT_MACROS_FOR_TESTING) and enabled it on GTK and Windows.
    
    * wtf/ExportMacros.h:
    * wtf/Platform.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    241bd21d