| 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()
|
|
|