Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 574cdbf8250ca6e7fb1a1645bed26e54bf336b61..e06228d0d5ff8316ec3f3f63bc918c394381c8ad 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -704,7 +704,7 @@ void Internals::selectColorInColorChooser(Element* element, const String& colorV |
{ |
if (!element->hasTagName(inputTag)) |
return; |
- toHTMLInputElement(element)->selectColorInColorChooser(Color(colorValue)); |
+ toHTMLInputElement(element)->selectColorInColorChooser(StyleColor(colorValue).color()); |
} |
Vector<String> Internals::formControlStateOfPreviousHistoryItem(ExceptionCode& ec) |