Index: Source/web/ColorChooserPopupUIController.cpp |
diff --git a/Source/web/ColorChooserPopupUIController.cpp b/Source/web/ColorChooserPopupUIController.cpp |
index ed2ad855a028872a0b247a84901f289da0b39d0c..a4268f13e963e1cf523fb1cb896b3c29e58f47b2 100644 |
--- a/Source/web/ColorChooserPopupUIController.cpp |
+++ b/Source/web/ColorChooserPopupUIController.cpp |
@@ -85,10 +85,10 @@ IntSize ColorChooserPopupUIController::contentSize() |
void ColorChooserPopupUIController::writeDocument(DocumentWriter& writer) |
{ |
- Vector<Color> suggestions = m_client->suggestions(); |
+ Vector<ColorSuggestion> suggestions = m_client->suggestions(); |
Vector<String> suggestionValues; |
for (unsigned i = 0; i < suggestions.size(); i++) |
- suggestionValues.append(suggestions[i].serialized()); |
+ suggestionValues.append(suggestions[i].valueAsColor.serialized()); |
IntRect anchorRectInScreen = m_chromeClient->rootViewToScreen(m_client->elementRectRelativeToRootView()); |
PagePopupClient::addString("<!DOCTYPE html><head><meta charset='UTF-8'><style>\n", writer); |