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