Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6721)

Unified Diff: Source/core/testing/Internals.cpp

Issue 20061003: Move isValid/isCurrentColor from Color to StyleColor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698