| 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 f58126223d22fcb81a32dedf076e71f3a7da6869..76677ef4865ade6a31b9727cdb4f5c6db53f7755 100644
|
| --- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
|
| @@ -253,7 +253,7 @@ void PopupMenuImpl::writeDocument(SharedBuffer* data)
|
| data->append(Platform::current()->loadResource("listPicker.css"));
|
| PagePopupClient::addString("</style></head><body><div id=main>Loading...</div><script>\n"
|
| "window.dialogArguments = {\n", data);
|
| - addProperty("selectedIndex", ownerElement.optionToListIndex(ownerElement.selectedIndex()), data);
|
| + addProperty("selectedIndex", ownerElement.selectedListIndex(), data);
|
| const ComputedStyle* ownerStyle = ownerElement.computedStyle();
|
| ItemIterationContext context(*ownerStyle, data);
|
| context.serializeBaseStyle();
|
|
|