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