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

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

Issue 1486743002: Clean up some remaining obsolete coordinate-space naming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Mac compile Created 5 years 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/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;

Powered by Google App Engine
This is Rietveld 408576698