summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-13 16:23:34 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-14 10:37:21 +0000
commit38a9a29f4f9436cace7f0e7abf9c586057df8a4e (patch)
treec4e8c458dc595bc0ddb435708fa2229edfd00bd4 /chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h
parente684a3455bcc29a6e3e66a004e352dea4e1141e7 (diff)
downloadqtwebengine-chromium-38a9a29f4f9436cace7f0e7abf9c586057df8a4e.tar.gz
BASELINE: Update Chromium to 73.0.3683.37
Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h')
-rw-r--r--chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h b/chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h
index 10814622a15..cdb0ab7378f 100644
--- a/chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h
+++ b/chromium/third_party/blink/renderer/core/animation/animatable/animatable_filter_operations.h
@@ -41,9 +41,11 @@ class AnimatableFilterOperations final : public AnimatableValue {
public:
static AnimatableFilterOperations* Create(
const FilterOperations& operations) {
- return new AnimatableFilterOperations(operations);
+ return MakeGarbageCollected<AnimatableFilterOperations>(operations);
}
+ AnimatableFilterOperations(const FilterOperations& operations)
+ : operation_wrapper_(FilterOperationsWrapper::Create(operations)) {}
~AnimatableFilterOperations() override = default;
const FilterOperations& Operations() const {
@@ -57,9 +59,6 @@ class AnimatableFilterOperations final : public AnimatableValue {
double fraction) const override;
private:
- AnimatableFilterOperations(const FilterOperations& operations)
- : operation_wrapper_(FilterOperationsWrapper::Create(operations)) {}
-
AnimatableType GetType() const override { return kTypeFilterOperations; }
Member<FilterOperationsWrapper> operation_wrapper_;