| Index: third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| index 804cf7bdd371c0f2288a244fa4318a3558934b1b..24dbb64bbf4bfd79d5555f0afe644d2ac48ea6e8 100644
|
| --- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| @@ -703,18 +703,17 @@ void TextControlElement::scheduleSelectEvent() {
|
| document().enqueueUniqueAnimationFrameEvent(event);
|
| }
|
|
|
| -void TextControlElement::parseAttribute(const QualifiedName& name,
|
| - const AtomicString& oldValue,
|
| - const AtomicString& value) {
|
| - if (name == autocapitalizeAttr)
|
| +void TextControlElement::parseAttribute(
|
| + const AttributeModificationParams& params) {
|
| + if (params.name == autocapitalizeAttr)
|
| UseCounter::count(document(), UseCounter::AutocapitalizeAttribute);
|
|
|
| - if (name == placeholderAttr) {
|
| + if (params.name == placeholderAttr) {
|
| updatePlaceholderText();
|
| updatePlaceholderVisibility();
|
| UseCounter::count(document(), UseCounter::PlaceholderAttribute);
|
| } else {
|
| - HTMLFormControlElementWithState::parseAttribute(name, oldValue, value);
|
| + HTMLFormControlElementWithState::parseAttribute(params);
|
| }
|
| }
|
|
|
|
|