Changeset 84842 in webkit


Ignore:
Timestamp:
Apr 25, 2011 4:43:16 PM (13 years ago)
Author:
jamesr@google.com
Message:

2011-04-25 James Robinson <jamesr@chromium.org>

Reviewed by Sam Weinig.

Fix OwnPtr strict mode violation in ImageBufferCG
https://bugs.webkit.org/show_bug.cgi?id=59396

  • platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::ImageBuffer):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84838 r84842  
     12011-04-25  James Robinson  <jamesr@chromium.org>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Fix OwnPtr strict mode violation in ImageBufferCG
     6        https://bugs.webkit.org/show_bug.cgi?id=59396
     7
     8        * platform/graphics/cg/ImageBufferCG.cpp:
     9        (WebCore::ImageBuffer::ImageBuffer):
     10
    1112011-04-25  Huang Dongsung  <luxtella@company100.net>
    212
  • trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp

    r83786 r84842  
    154154        return;
    155155
    156     m_context.set(new GraphicsContext(cgContext.get()));
     156    m_context= adoptPtr(new GraphicsContext(cgContext.get()));
    157157    m_context->scale(FloatSize(1, -1));
    158158    m_context->translate(0, -size.height());
Note: See TracChangeset for help on using the changeset viewer.