| Index: third_party/WebKit/Source/core/animation/EffectInput.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/EffectInput.cpp b/third_party/WebKit/Source/core/animation/EffectInput.cpp
|
| index 2da614f5f0e7a4f763d7b93dc052ebdfc05962a9..46e2ff55fd632e064d7216c18a7703ec1ee4164e 100644
|
| --- a/third_party/WebKit/Source/core/animation/EffectInput.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/EffectInput.cpp
|
| @@ -226,7 +226,10 @@ EffectModel* EffectInput::convertArrayForm(
|
| }
|
|
|
| Vector<String> keyframeProperties;
|
| - keyframeDictionary.getPropertyNames(keyframeProperties);
|
| + if (!keyframeDictionary.getPropertyNames(keyframeProperties,
|
| + exceptionState)) {
|
| + return nullptr;
|
| + }
|
| for (const auto& property : keyframeProperties) {
|
| if (property == "offset" || property == "composite" ||
|
| property == "easing") {
|
| @@ -324,7 +327,8 @@ EffectModel* EffectInput::convertObjectForm(
|
| DictionaryHelper::get(keyframeDictionary, "composite", compositeString);
|
|
|
| Vector<String> keyframeProperties;
|
| - keyframeDictionary.getPropertyNames(keyframeProperties);
|
| + if (!keyframeDictionary.getPropertyNames(keyframeProperties, exceptionState))
|
| + return nullptr;
|
| for (const auto& property : keyframeProperties) {
|
| if (property == "offset" || property == "composite" ||
|
| property == "easing") {
|
|
|