Index: third_party/WebKit/Source/core/html/forms/OptionList.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/OptionList.cpp b/third_party/WebKit/Source/core/html/forms/OptionList.cpp |
index 06f4f6fe6cef9715d830be5e4e85c81303e910bf..5cdd19aac1115f1d437151385b00c962625dd17d 100644 |
--- a/third_party/WebKit/Source/core/html/forms/OptionList.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/OptionList.cpp |
@@ -28,7 +28,7 @@ void OptionListIterator::advance(HTMLOptionElement* previous) |
m_current = toHTMLOptionElement(current); |
return; |
} |
- if (isHTMLOptGroupElement(current) && current->parentNode() == m_select) { |
+ if (isHTMLOptGroupElement(current) && current->parentNode() == m_select.get()) { |
if ((m_current = Traversal<HTMLOptionElement>::firstChild(*current))) |
return; |
} |