Index: Source/web/ColorChooserPopupUIController.cpp |
diff --git a/Source/web/ColorChooserPopupUIController.cpp b/Source/web/ColorChooserPopupUIController.cpp |
index da018197cf30487fd3b2da4f8a397601ee85a695..f4fcd09c0e9eaea422edf4a860aa3776c9537216 100644 |
--- a/Source/web/ColorChooserPopupUIController.cpp |
+++ b/Source/web/ColorChooserPopupUIController.cpp |
@@ -82,10 +82,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].color.serialized()); |
IntRect anchorRectInScreen = m_chromeClient->rootViewToScreen(m_client->elementRectRelativeToRootView()); |
PagePopupClient::addString("<!DOCTYPE html><head><meta charset='UTF-8'><style>\n", writer); |