Changeset 166652 in webkit


Ignore:
Timestamp:
Apr 2, 2014 10:54:48 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[WinCairo] Compile error.
https://bugs.webkit.org/show_bug.cgi?id=131110

Patch by peavo@outlook.com <peavo@outlook.com> on 2014-04-02
Reviewed by Simon Fraser.

Image::size() now returns a FloatSize instead of an IntSize.

  • platform/win/DragImageCairoWin.cpp:

(WebCore::createDragImageFromImage):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r166650 r166652  
     12014-04-02  peavo@outlook.com  <peavo@outlook.com>
     2
     3        [WinCairo] Compile error.
     4        https://bugs.webkit.org/show_bug.cgi?id=131110
     5
     6        Reviewed by Simon Fraser.
     7
     8        Image::size() now returns a FloatSize instead of an IntSize.
     9
     10        * platform/win/DragImageCairoWin.cpp:
     11        (WebCore::createDragImageFromImage):
     12
    1132014-04-02  David Kilzer  <ddkilzer@apple.com>
    214
  • trunk/Source/WebCore/platform/win/DragImageCairoWin.cpp

    r165676 r166652  
    155155
    156156    PlatformContextCairo* drawContext = 0;
    157     auto hbmp = allocImage(workingDC.get(), img->size(), &drawContext);
     157    auto hbmp = allocImage(workingDC.get(), IntSize(img->size()), &drawContext);
    158158    if (!hbmp || !drawContext)
    159159        return 0;
Note: See TracChangeset for help on using the changeset viewer.