Skip to content
  • aroben@apple.com's avatar
    Add SoftLinking.h for Windows and use it in a few places · ee5a5d14
    aroben@apple.com authored
     WebCore:
    
             Add SoftLinking.h for Windows and use it in a few places
    
             Reviewed by Oliver.
    
             * WebCore.vcproj/WebCore.vcproj: Added new file to project.
             * platform/win/PlatformScrollBarSafari.cpp: Use SoftLinking.h.
             (WebCore::PlatformScrollbar::PlatformScrollbar): Removed manual
             soft-linking calls.
             (WebCore::PlatformScrollbar::paintButton): Check for the presence of
             the SafariTheme library now that we can't check for the presence of
             paintThemePart directly.
             (WebCore::PlatformScrollbar::paintTrack): Ditto.
             (WebCore::PlatformScrollbar::paintThumb): Ditto.
             * platform/win/SoftLinking.h: Copied from WebCore/platform/mac/SoftLinking.h.
             * rendering/RenderThemeSafari.cpp: Same basic changes as to
             PlatformScrollBarSafari.cpp.
             (WebCore::RenderThemeSafari::RenderThemeSafari):
             (WebCore::RenderThemeSafari::isControlStyled):
             (WebCore::RenderThemeSafari::paintCapsLockIndicator):
             * rendering/RenderThemeSafari.h: Removed m_themeDLL member.
    
     WebKit/win:
    
             Use SoftLinking.h in WebKitClassFactory.
    
             Reviewed by Oliver.
    
             * WebKitClassFactory.cpp:
             (WebKitClassFactory::WebKitClassFactory): We don't have to worry about
             not finding STInitialize anymore now that a version of SafariTheme
             containing this function has shipped.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ee5a5d14