Changeset 84853 in webkit


Ignore:
Timestamp:
Apr 25, 2011 5:11:09 PM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-04-25 Kenneth Russell <kbr@google.com>

Reviewed by David Levin.

Fix OwnPtr strict errors in TransformState.cpp
https://bugs.webkit.org/show_bug.cgi?id=59380

  • rendering/TransformState.cpp: (WebCore::TransformState::applyTransform):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84852 r84853  
     12011-04-25  Kenneth Russell  <kbr@google.com>
     2
     3        Reviewed by David Levin.
     4
     5        Fix OwnPtr strict errors in TransformState.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=59380
     7
     8        * rendering/TransformState.cpp:
     9        (WebCore::TransformState::applyTransform):
     10
    1112011-04-25  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebCore/rendering/TransformState.cpp

    r76537 r84853  
    2626#include "config.h"
    2727#include "TransformState.h"
     28
     29#include <wtf/PassOwnPtr.h>
    2830
    2931namespace WebCore {
     
    6163    if (m_accumulatedTransform) {
    6264        if (m_direction == ApplyTransformDirection)
    63             m_accumulatedTransform.set(new TransformationMatrix(transformFromContainer * *m_accumulatedTransform));
     65            m_accumulatedTransform = adoptPtr(new TransformationMatrix(transformFromContainer * *m_accumulatedTransform));
    6466        else
    6567            m_accumulatedTransform->multiply(transformFromContainer);
    6668    } else if (accumulate == AccumulateTransform) {
    6769        // Make one if we started to accumulate
    68         m_accumulatedTransform.set(new TransformationMatrix(transformFromContainer));
     70        m_accumulatedTransform = adoptPtr(new TransformationMatrix(transformFromContainer));
    6971    }
    7072   
Note: See TracChangeset for help on using the changeset viewer.