diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/animation/animation_sim_test.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/animation/animation_sim_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/core/animation/animation_sim_test.cc b/chromium/third_party/blink/renderer/core/animation/animation_sim_test.cc index 1c6de23e023..80aa614b621 100644 --- a/chromium/third_party/blink/renderer/core/animation/animation_sim_test.cc +++ b/chromium/third_party/blink/renderer/core/animation/animation_sim_test.cc @@ -51,11 +51,11 @@ TEST_F(AnimationSimTest, CustomPropertyBaseComputedStyle) { // inherits: false // }) DummyExceptionStateForTesting exception_state; - PropertyDescriptor property_descriptor; - property_descriptor.setName("--x"); - property_descriptor.setSyntax("<percentage>"); - property_descriptor.setInitialValue("0%"); - property_descriptor.setInherits(false); + PropertyDescriptor* property_descriptor = PropertyDescriptor::Create(); + property_descriptor->setName("--x"); + property_descriptor->setSyntax("<percentage>"); + property_descriptor->setInitialValue("0%"); + property_descriptor->setInherits(false); PropertyRegistration::registerProperty(&GetDocument(), property_descriptor, exception_state); EXPECT_FALSE(exception_state.HadException()); |