| Index: third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| diff --git a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| index 3ef4d48fdc3efaf401fad547bdf8073913d9c27a..2ffeae0ed06cf46b6bd6fe001bc98ae2fc80eaf3 100644
|
| --- a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| +++ b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp
|
| @@ -101,7 +101,7 @@ void ColorChooserPopupUIController::writeDocument(SharedBuffer* data)
|
| Vector<String> suggestionValues;
|
| for (unsigned i = 0; i < suggestions.size(); i++)
|
| suggestionValues.append(suggestions[i].color.serialized());
|
| - IntRect anchorRectInScreen = m_chromeClient->viewportToScreen(m_client->elementRectRelativeToViewport());
|
| + IntRect anchorRectInScreen = m_chromeClient->viewportToScreen(m_client->elementRectRelativeToViewport(), m_frame->view());
|
|
|
| PagePopupClient::addString("<!DOCTYPE html><head><meta charset='UTF-8'><style>\n", data);
|
| data->append(Platform::current()->loadResource("pickerCommon.css"));
|
|
|