Index: third_party/WebKit/Source/web/DateTimeChooserImpl.cpp |
diff --git a/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp b/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp |
index 1541bda6b107f1c08b8ae754e7fd4d07fca1eae7..5e18e7d0d3d639b4a7b66a131dfd118b94a61f58 100644 |
--- a/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp |
+++ b/third_party/WebKit/Source/web/DateTimeChooserImpl.cpp |
@@ -161,7 +161,7 @@ void DateTimeChooserImpl::writeDocument(SharedBuffer* data) |
addProperty("suggestionValues", suggestionValues, data); |
addProperty("localizedSuggestionValues", localizedSuggestionValues, data); |
addProperty("suggestionLabels", suggestionLabels, data); |
- addProperty("inputWidth", static_cast<unsigned>(m_parameters.anchorRectInRootFrame.width()), data); |
+ addProperty("inputWidth", static_cast<unsigned>(m_parameters.anchorRectInScreen.width()), data); |
addProperty("showOtherDateEntry", LayoutTheme::theme().supportsCalendarPicker(m_parameters.type), data); |
addProperty("otherDateLabel", otherDateLabelString, data); |
addProperty("suggestionHighlightColor", LayoutTheme::theme().activeListBoxSelectionBackgroundColor().serialized(), data); |