Skip to content
  • levin@chromium.org's avatar
    [windows] Convert usages of GetDC to HWndDC Part 1. · 7ca31dfd
    levin@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=76744
    
    Reviewed by Adam Roben.
    
    Source/WebCore:
    
    No new functionality so no new tests.
    
    * platform/graphics/win/FontCacheWin.cpp:
    (WebCore::FontCache::getFontDataForCharacters): Changed GetDC to HWndDC
    and removed ReleaseDC.
    (WebCore::createGDIFont): Ditto.
    (WebCore::FontCache::getTraitsInFamily): Ditto.
    * platform/graphics/win/FontPlatformDataWin.cpp:
    (WebCore::FontPlatformData::FontPlatformData): Ditto.
    * platform/graphics/win/SimpleFontDataCGWin.cpp:
    (WebCore::SimpleFontData::platformInit): Ditto.
    * platform/graphics/win/SimpleFontDataWin.cpp:
    (WebCore::SimpleFontData::initGDIFont): Ditto.
    (WebCore::SimpleFontData::containsCharacters): Ditto.
    (WebCore::SimpleFontData::determinePitch): Ditto.
    (WebCore::SimpleFontData::boundsForGDIGlyph): Ditto.
    (WebCore::SimpleFontData::widthForGDIGlyph): Ditto.
    (WebCore::SimpleFontData::scriptFontProperties): Ditto.
    * platform/win/CursorWin.cpp:
    (WebCore::createSharedCursor): Ditto.
    * platform/win/DragImageCGWin.cpp:
    (WebCore::scaleDragImage): Ditto.
    (WebCore::createDragImageFromImage): Ditto.
    * platform/win/DragImageWin.cpp:
    (WebCore::createDragImageForLink): Ditto.
    * platform/win/PasteboardWin.cpp:
    (WebCore::Pasteboard::writeImage): Ditto.
    
    Source/WebKit/win:
    
    * WebIconDatabase.cpp:
    (createDIB): Changed GetDC to HWndDC and removed ReleaseDC.
    
    Source/WebKit2:
    
    * UIProcess/win/WebView.cpp:
    (WebKit::WebView::flashBackingStoreUpdates): Typical conversion.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7ca31dfd