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 529db70b7934a29bcc114572b62a5864492cdc35..1a14a78dd56d9cd43843f4bf3c7b73652404a166 100644 |
--- a/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp |
+++ b/third_party/WebKit/Source/web/ColorChooserPopupUIController.cpp |
@@ -89,7 +89,7 @@ void ColorChooserPopupUIController::WriteDocument(SharedBuffer* data) { |
for (unsigned i = 0; i < suggestions.size(); i++) |
suggestion_values.push_back(suggestions[i].color.Serialized()); |
IntRect anchor_rect_in_screen = chrome_client_->ViewportToScreen( |
- client_->ElementRectRelativeToViewport(), frame_->View()); |
+ client_->ElementRectRelativeToViewport(), frame_); |
PagePopupClient::AddString( |
"<!DOCTYPE html><head><meta charset='UTF-8'><style>\n", data); |