Index: Source/core/html/HTMLOptionElement.cpp |
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp |
index 13f6e2b7b943f85a0f5ad866c7901ba44a758d1c..b52c4c999d637cc87957b7dce210c7b7ae78b2bb 100644 |
--- a/Source/core/html/HTMLOptionElement.cpp |
+++ b/Source/core/html/HTMLOptionElement.cpp |
@@ -201,7 +201,7 @@ void HTMLOptionElement::setValue(const AtomicString& value) |
setAttribute(valueAttr, value); |
} |
-bool HTMLOptionElement::selected() |
+bool HTMLOptionElement::selected() const |
{ |
if (HTMLSelectElement* select = ownerSelectElement()) { |
// If a stylesheet contains option:checked selectors, this function is |