| Index: third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| index 12897b97dfd8861593688b900614964d4ce32ae3..2e2e50ab97d12e54bf90b8f020a09da74b5b6735 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLVideoElement.cpp
|
| @@ -114,10 +114,9 @@ bool HTMLVideoElement::isPresentationAttribute(
|
| return HTMLMediaElement::isPresentationAttribute(name);
|
| }
|
|
|
| -void HTMLVideoElement::parseAttribute(const QualifiedName& name,
|
| - const AtomicString& oldValue,
|
| - const AtomicString& value) {
|
| - if (name == posterAttr) {
|
| +void HTMLVideoElement::parseAttribute(
|
| + const AttributeModificationParams& params) {
|
| + if (params.name == posterAttr) {
|
| // In case the poster attribute is set after playback, don't update the
|
| // display state, post playback the correct state will be picked up.
|
| if (getDisplayMode() < Video || !hasAvailableVideoFrame()) {
|
| @@ -138,7 +137,7 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name,
|
| if (webMediaPlayer())
|
| webMediaPlayer()->setPoster(posterImageURL());
|
| } else {
|
| - HTMLMediaElement::parseAttribute(name, oldValue, value);
|
| + HTMLMediaElement::parseAttribute(params);
|
| }
|
| }
|
|
|
|
|