| Index: third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebTransformKeyframe.cpp b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
|
| similarity index 79%
|
| rename from third_party/WebKit/Source/platform/exported/WebTransformKeyframe.cpp
|
| rename to third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
|
| index 1c0d728d8f82810d4f094414062ef18740cbf28f..5b28a061e2fbf50d47c1641c13b58d7c727c70d9 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebTransformKeyframe.cpp
|
| +++ b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
|
| @@ -22,32 +22,29 @@
|
| * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "public/platform/WebTransformKeyframe.h"
|
| -
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include "platform/animation/CompositorTransformKeyframe.h"
|
|
|
| namespace blink {
|
|
|
| -WebTransformKeyframe::WebTransformKeyframe(double time, PassOwnPtr<WebTransformOperations> value)
|
| +CompositorTransformKeyframe::CompositorTransformKeyframe(double time, PassOwnPtr<CompositorTransformOperations> value)
|
| : m_time(time)
|
| , m_value(std::move(value))
|
| {
|
| }
|
|
|
| -WebTransformKeyframe::~WebTransformKeyframe()
|
| +CompositorTransformKeyframe::~CompositorTransformKeyframe()
|
| {
|
| - m_value.reset(0);
|
| + m_value.clear();
|
| }
|
|
|
| -double WebTransformKeyframe::time() const
|
| +double CompositorTransformKeyframe::time() const
|
| {
|
| return m_time;
|
| }
|
|
|
| -const WebTransformOperations& WebTransformKeyframe::value() const
|
| +const CompositorTransformOperations& CompositorTransformKeyframe::value() const
|
| {
|
| return *m_value.get();
|
| }
|
|
|
| -
|
| } // namespace blink
|
|
|