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

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

Issue 2335253002: Push CompositorFilterOperations creation out of GraphicsLayer (Closed)
Patch Set: The right FilterOperations Created 4 years, 3 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/AnimationTranslationUtil.cpp
diff --git a/third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp b/third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp
index 2582de6864f8ef692c8e5cd079316cd23def197b..0f1aa088d44acccc8e1b7839b4724b9f6538be53 100644
--- a/third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp
+++ b/third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp
@@ -22,10 +22,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
#include "platform/animation/AnimationTranslationUtil.h"
#include "platform/animation/CompositorTransformOperations.h"
+#include "platform/graphics/CompositorFilterOperations.h"
#include "platform/graphics/filters/FilterOperations.h"
#include "platform/graphics/filters/SkiaImageFilterBuilder.h"
#include "platform/transforms/InterpolatedTransformOperation.h"
@@ -113,9 +113,9 @@ void toCompositorTransformOperations(const TransformOperations& transformOperati
} // for each operation
}
-void toCompositorFilterOperations(const FilterOperations& inOperations, CompositorFilterOperations* outOperations)
+CompositorFilterOperations toCompositorFilterOperations(const FilterOperations& inOperations)
{
- SkiaImageFilterBuilder::buildFilterOperations(inOperations, outOperations);
+ return SkiaImageFilterBuilder::buildFilterOperations(inOperations);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698