Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1181)

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GC Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 81%
rename from third_party/WebKit/Source/platform/exported/WebTransformKeyframe.cpp
rename to third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
index 1c0d728d8f82810d4f094414062ef18740cbf28f..d7823810a005687983350b5cdd36394ceacad030 100644
--- a/third_party/WebKit/Source/platform/exported/WebTransformKeyframe.cpp
+++ b/third_party/WebKit/Source/platform/animation/CompositorTransformKeyframe.cpp
@@ -22,29 +22,29 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "public/platform/WebTransformKeyframe.h"
+#include "platform/animation/CompositorTransformKeyframe.h"
#include "wtf/PassOwnPtr.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);
}
-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();
}

Powered by Google App Engine
This is Rietveld 408576698