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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationTranslationUtil.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: Rebase. Fix copyrights and years. Created 4 years, 10 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/core/animation/AnimationTranslationUtil.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationTranslationUtil.cpp b/third_party/WebKit/Source/core/animation/AnimationTranslationUtil.cpp
index 1db74b09cc0ad8f0e85697a960f284e1341afa52..be90b7378149bb9011da14e871b818d67dfd2768 100644
--- a/third_party/WebKit/Source/core/animation/AnimationTranslationUtil.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationTranslationUtil.cpp
@@ -25,6 +25,7 @@
#include "core/animation/AnimationTranslationUtil.h"
+#include "platform/animation/CompositorTransformOperations.h"
#include "platform/graphics/filters/FilterOperations.h"
#include "platform/graphics/filters/SkiaImageFilterBuilder.h"
#include "platform/transforms/InterpolatedTransformOperation.h"
@@ -37,11 +38,10 @@
#include "platform/transforms/TransformOperations.h"
#include "platform/transforms/TransformationMatrix.h"
#include "platform/transforms/TranslateTransformOperation.h"
-#include "public/platform/WebTransformOperations.h"
namespace blink {
-void toWebTransformOperations(const TransformOperations& transformOperations, WebTransformOperations* webTransformOperations)
+void toCompositorTransformOperations(const TransformOperations& transformOperations, CompositorTransformOperations* webTransformOperations)
{
// We need to do a deep copy the transformOperations may contain ref pointers to TransformOperation objects.
for (size_t j = 0; j < transformOperations.size(); ++j) {
@@ -113,7 +113,7 @@ void toWebTransformOperations(const TransformOperations& transformOperations, We
} // for each operation
}
-void toWebFilterOperations(const FilterOperations& inOperations, WebFilterOperations* outOperations)
+void toCompositorFilterOperations(const FilterOperations& inOperations, CompositorFilterOperations* outOperations)
{
SkiaImageFilterBuilder builder;
builder.buildFilterOperations(inOperations, outOperations);

Powered by Google App Engine
This is Rietveld 408576698