| Index: Source/core/html/forms/ColorInputType.cpp
|
| diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
|
| index a1393528dd3953d493f30e78069ed1071721bb05..518e8110b287f4c0bef681c5c9e41ce6ea997385 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()
|
|
|