From e78cbe89e6f337f2f1fe40315be88f742b547151 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 26 May 2010 10:11:43 +0100 Subject: Merge WebKit at r60074: Initial merge by git Change-Id: I18a2dc5439e36c928351ea829d8fb4e39b062fc7 --- WebCore/dom/InputElement.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WebCore/dom/InputElement.cpp') diff --git a/WebCore/dom/InputElement.cpp b/WebCore/dom/InputElement.cpp index 3459906..079dd56 100644 --- a/WebCore/dom/InputElement.cpp +++ b/WebCore/dom/InputElement.cpp @@ -31,6 +31,7 @@ #include "CSSStyleSelector.h" #endif +#include "Attribute.h" #include "Chrome.h" #include "ChromeClient.h" #include "Document.h" @@ -39,7 +40,6 @@ #include "Frame.h" #include "HTMLInputElement.h" #include "HTMLNames.h" -#include "MappedAttribute.h" #include "Page.h" #include "RenderTextControlSingleLine.h" #include "SelectionController.h" @@ -219,7 +219,7 @@ void InputElement::handleBeforeTextInsertedEvent(InputElementData& data, InputEl textEvent->setText(sanitizeUserInputValue(inputElement, textEvent->text(), appendableLength)); } -void InputElement::parseSizeAttribute(InputElementData& data, Element* element, MappedAttribute* attribute) +void InputElement::parseSizeAttribute(InputElementData& data, Element* element, Attribute* attribute) { data.setSize(attribute->isNull() ? InputElement::s_defaultSize : attribute->value().toInt()); @@ -227,7 +227,7 @@ void InputElement::parseSizeAttribute(InputElementData& data, Element* element, renderer->setNeedsLayoutAndPrefWidthsRecalc(); } -void InputElement::parseMaxLengthAttribute(InputElementData& data, InputElement* inputElement, Element* element, MappedAttribute* attribute) +void InputElement::parseMaxLengthAttribute(InputElementData& data, InputElement* inputElement, Element* element, Attribute* attribute) { int maxLength = attribute->isNull() ? InputElement::s_maximumLength : attribute->value().toInt(); if (maxLength <= 0 || maxLength > InputElement::s_maximumLength) -- cgit v1.1