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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 months 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 131393e1242a6c20c005c67a20f781de9cdc37c1..1774c10cbf60f19aac1a65e2c6bf2a5998c5a470 100644
--- a/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp
@@ -73,7 +73,7 @@ void ValidationMessageClientImpl::showValidationMessage(const Element& anchor, c
hideValidationMessage(*m_currentAnchor);
m_currentAnchor = &anchor;
IntRect anchorInViewport = currentView()->contentsToViewport(anchor.pixelSnappedBoundingBox());
- m_lastAnchorRectInScreen = currentView()->hostWindow()->viewportToScreen(anchorInViewport);
+ m_lastAnchorRectInScreen = currentView()->getHostWindow()->viewportToScreen(anchorInViewport);
m_lastPageScaleFactor = m_webView.pageScaleFactor();
m_message = message;
const double minimumSecondToShowValidationMessage = 5.0;
@@ -132,7 +132,7 @@ void ValidationMessageClientImpl::checkAnchorStatus(Timer<ValidationMessageClien
return;
}
- IntRect newAnchorRectInViewportInScreen = currentView()->hostWindow()->viewportToScreen(newAnchorRectInViewport);
+ IntRect newAnchorRectInViewportInScreen = currentView()->getHostWindow()->viewportToScreen(newAnchorRectInViewport);
if (newAnchorRectInViewportInScreen == m_lastAnchorRectInScreen && m_webView.pageScaleFactor() == m_lastPageScaleFactor)
return;
m_lastAnchorRectInScreen = newAnchorRectInViewportInScreen;
« no previous file with comments | « third_party/WebKit/Source/web/RotationViewportAnchor.cpp ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698