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

Unified Diff: Source/core/html/forms/ColorInputType.cpp

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 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
« no previous file with comments | « Source/core/html/forms/ColorInputType.h ('k') | Source/core/html/forms/DateTimeChooser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/ColorInputType.cpp
diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
index 104b5b85b5656fadd2662da28325e36a832c7fa7..083d6c8a4db53d326d75a3c32bcdb47f5f7aa9d1 100644
--- a/Source/core/html/forms/ColorInputType.cpp
+++ b/Source/core/html/forms/ColorInputType.cpp
@@ -236,9 +236,9 @@ Element& ColorInputType::ownerElement() const
return element();
}
-IntRect ColorInputType::elementRectRelativeToRootView() const
+IntRect ColorInputType::elementRectRelativeToViewport() const
{
- return element().document().view()->contentsToRootView(element().pixelSnappedBoundingBox());
+ return element().document().view()->contentsToWindow(element().pixelSnappedBoundingBox());
}
Color ColorInputType::currentColor()
« no previous file with comments | « Source/core/html/forms/ColorInputType.h ('k') | Source/core/html/forms/DateTimeChooser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698