| Index: Source/core/html/forms/NumberInputType.cpp
|
| diff --git a/Source/core/html/forms/NumberInputType.cpp b/Source/core/html/forms/NumberInputType.cpp
|
| index 29abc2ded4a16cb063069581e21ed012b4d75f13..c7e5c3257851fd2e705905abe14e1bdde2ed4005 100644
|
| --- a/Source/core/html/forms/NumberInputType.cpp
|
| +++ b/Source/core/html/forms/NumberInputType.cpp
|
| @@ -265,16 +265,16 @@ void NumberInputType::minOrMaxAttributeChanged()
|
| {
|
| InputType::minOrMaxAttributeChanged();
|
|
|
| - if (element().renderer())
|
| - element().renderer()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + if (element().layoutObject())
|
| + element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| }
|
|
|
| void NumberInputType::stepAttributeChanged()
|
| {
|
| InputType::stepAttributeChanged();
|
|
|
| - if (element().renderer())
|
| - element().renderer()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + if (element().layoutObject())
|
| + element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| }
|
|
|
| bool NumberInputType::supportsSelectionAPI() const
|
|
|