| Index: third_party/WebKit/Source/core/animation/EffectInput.h
|
| diff --git a/third_party/WebKit/Source/core/animation/EffectInput.h b/third_party/WebKit/Source/core/animation/EffectInput.h
|
| index 372aee53ac0df6f6e2f70812ae9ededd7c63bb17..f33afe2f2ddc16baf0f37bff21eebf514d4010ff 100644
|
| --- a/third_party/WebKit/Source/core/animation/EffectInput.h
|
| +++ b/third_party/WebKit/Source/core/animation/EffectInput.h
|
| @@ -15,19 +15,18 @@ namespace blink {
|
| class EffectModel;
|
| class EffectModelOrDictionarySequenceOrDictionary;
|
| class Dictionary;
|
| -class Element;
|
| +class Document;
|
| class ExceptionState;
|
| class ExecutionContext;
|
|
|
| class CORE_EXPORT EffectInput {
|
| STATIC_ONLY(EffectInput);
|
| public:
|
| - // TODO(alancutter): Replace Element* parameter with Document&.
|
| - static EffectModel* convert(Element*, const EffectModelOrDictionarySequenceOrDictionary&, ExecutionContext*, ExceptionState&);
|
| + static EffectModel* convert(Document&, const EffectModelOrDictionarySequenceOrDictionary&, ExecutionContext*, ExceptionState&);
|
|
|
| private:
|
| - static EffectModel* convertArrayForm(Element&, const Vector<Dictionary>& keyframes, ExceptionState&);
|
| - static EffectModel* convertObjectForm(Element&, const Dictionary& keyframe, ExceptionState&);
|
| + static EffectModel* convertArrayForm(Document&, const Vector<Dictionary>& keyframes, ExceptionState&);
|
| + static EffectModel* convertObjectForm(Document&, const Dictionary& keyframe, ExceptionState&);
|
| };
|
|
|
| } // namespace blink
|
|
|