Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1234)

Unified Diff: third_party/WebKit/Source/web/PopupMenuImpl.cpp

Issue 2143863003: Simplify protocol between SELECT elements and popups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@select-remove-fixed-args
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/PopupMenuImpl.cpp
diff --git a/third_party/WebKit/Source/web/PopupMenuImpl.cpp b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
index d40ba44209e91370c4296db20b4ae613b1beb6b3..f58126223d22fcb81a32dedf076e71f3a7da6869 100644
--- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp
+++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
@@ -398,7 +398,7 @@ void PopupMenuImpl::setValueAndClosePopup(int numValue, const String& stringValu
DCHECK(success);
{
EventQueueScope scope;
- m_ownerElement->valueChanged(listIndex);
+ m_ownerElement->selectOptionByPopup(listIndex);
if (m_popup)
m_chromeClient->closePagePopup(m_popup);
// 'change' event is dispatched here. For compatbility with

Powered by Google App Engine
This is Rietveld 408576698