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

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

Issue 23581008: Revert r154797: "Move isValid/isCurrentColor from Color to StyleColor" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 d9b4292ea4857ca210a851cfc33bde29b54eef2c..d7c2fa18a495e4533f86cab851d888139f898530 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -717,7 +717,7 @@ void Internals::selectColorInColorChooser(Element* element, const String& colorV
{
if (!element->hasTagName(inputTag))
return;
- toHTMLInputElement(element)->selectColorInColorChooser(StyleColor(colorValue).color());
+ toHTMLInputElement(element)->selectColorInColorChooser(Color(colorValue));
}
Vector<String> Internals::formControlStateOfPreviousHistoryItem(ExceptionState& es)

Powered by Google App Engine
This is Rietveld 408576698