Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 711a50f41f71c813ec149bbc902e6b543a895316..87288aaf8daffcd5bd72877dfa4bc1ad047d124e 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -1840,7 +1840,8 @@ bool HTMLInputElement::setupDateTimeChooserParameters(DateTimeChooserParameters& |
parameters.stepBase = 0; |
} |
- parameters.anchorRectInRootView = document().view()->contentsToRootView(pixelSnappedBoundingBox()); |
+ parameters.anchorRectInRootFrame = document().view()->contentsToRootFrame(pixelSnappedBoundingBox()); |
+ parameters.anchorRectInScreen = document().view()->contentsToScreen(pixelSnappedBoundingBox()); |
parameters.currentValue = value(); |
parameters.doubleValue = m_inputType->valueAsDouble(); |
parameters.isAnchorElementRTL = m_inputType->computedTextDirection() == RTL; |