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

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

Issue 967213004: Removed FrameView's windowToContents and contentsToWindow methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed rbyers@ feedback (minus tests) Created 5 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: Source/core/html/forms/ColorInputType.cpp
diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
index e821cfc071e52e1ee55120f80f05e9b7f7e1429b..f96c5d12494f2e834f62480317474ab992a402eb 100644
--- a/Source/core/html/forms/ColorInputType.cpp
+++ b/Source/core/html/forms/ColorInputType.cpp
@@ -238,7 +238,7 @@ Element& ColorInputType::ownerElement() const
IntRect ColorInputType::elementRectRelativeToViewport() const
{
- return element().document().view()->contentsToWindow(element().pixelSnappedBoundingBox());
+ return element().document().view()->contentsToViewport(element().pixelSnappedBoundingBox());
}
Color ColorInputType::currentColor()

Powered by Google App Engine
This is Rietveld 408576698