Changeset 187963 in webkit


Ignore:
Timestamp:
Aug 5, 2015 9:15:40 AM (9 years ago)
Author:
Wenson Hsieh
Message:

Build fix after 187961

  • platform/mac/ThemeMac.mm:

(WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r187962 r187963  
     12015-08-05  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Build fix after 187961
     4
     5        * platform/mac/ThemeMac.mm:
     6        (WebCore::ThemeMac::drawCellOrFocusRingWithViewIntoContext):
     7
    182015-08-05  Daniel Bates  <dabates@apple.com>
    29
  • trunk/Source/WebCore/platform/mac/ThemeMac.mm

    r187961 r187963  
    670670    bool needsRepaint = false;
    671671    if (useImageBuffer) {
    672         NSRect imageBufferDrawRect = CGRectMake(buttonFocusRectOutlineWidth, buttonFocusRectOutlineWidth, inflatedRect.width(), inflatedRect.height());
     672        NSRect imageBufferDrawRect = NSRect(FloatRect(buttonFocusRectOutlineWidth, buttonFocusRectOutlineWidth, inflatedRect.width(), inflatedRect.height()));
    673673        std::unique_ptr<ImageBuffer> imageBuffer = ImageBuffer::createCompatibleBuffer(inflatedRect.size() + 2 * FloatSize(buttonFocusRectOutlineWidth, buttonFocusRectOutlineWidth), deviceScaleFactor, ColorSpaceSRGB, context, false);
    674674        {
Note: See TracChangeset for help on using the changeset viewer.