| Index: trunk/Source/core/html/forms/InputType.cpp
|
| ===================================================================
|
| --- trunk/Source/core/html/forms/InputType.cpp (revision 190671)
|
| +++ trunk/Source/core/html/forms/InputType.cpp (working copy)
|
| @@ -598,7 +598,7 @@
|
| void InputType::warnIfValueIsInvalidAndElementIsVisible(const String& value) const
|
| {
|
| // Don't warn if the value is set in Modernizr.
|
| - const LayoutStyle* style = element().layoutStyle();
|
| + LayoutStyle* style = element().layoutStyle();
|
| if (style && style->visibility() != HIDDEN)
|
| warnIfValueIsInvalid(value);
|
| }
|
| @@ -898,7 +898,7 @@
|
|
|
| void InputType::countUsageIfVisible(UseCounter::Feature feature) const
|
| {
|
| - if (const LayoutStyle* style = element().layoutStyle()) {
|
| + if (LayoutStyle* style = element().layoutStyle()) {
|
| if (style->visibility() != HIDDEN)
|
| UseCounter::count(element().document(), feature);
|
| }
|
|
|