| Index: third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp b/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
|
| index ae87939ae4b0c1fc6aeff156bc9d4c3942292f04..c3677371e396128282f42f5b8f83331dec239a60 100644
|
| --- a/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
|
| @@ -127,7 +127,7 @@ void ValidationMessageClientImpl::checkAnchorStatus(Timer<ValidationMessageClien
|
| // FIXME: This intersection eliminates the part of the rect outside the root view.
|
| // If this is meant as a visiblity test, intersecting it against the viewport rect
|
| // likely makes more sense.
|
| - newAnchorRectInViewport = intersection(currentView()->convertToContainingWindow(currentView()->boundsRect()), newAnchorRectInViewport);
|
| + newAnchorRectInViewport = intersection(currentView()->convertToRootFrame(currentView()->boundsRect()), newAnchorRectInViewport);
|
| if (newAnchorRectInViewport.isEmpty()) {
|
| hideValidationMessage(*m_currentAnchor);
|
| return;
|
|
|