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

Unified Diff: Source/core/svg/SVGColor.cpp

Issue 112933010: Split out CSSParser public API Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 12 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/svg/SVGColor.cpp
diff --git a/Source/core/svg/SVGColor.cpp b/Source/core/svg/SVGColor.cpp
index 53702749c2d9abc3801b21e5666c73a9002ef843..7d1bd12a304a8d75d15361478a684180523a6260 100644
--- a/Source/core/svg/SVGColor.cpp
+++ b/Source/core/svg/SVGColor.cpp
@@ -23,7 +23,7 @@
#include "core/svg/SVGColor.h"
#include "bindings/v8/ExceptionState.h"
-#include "core/css/parser/BisonCSSParser.h"
+#include "core/css/parser/CSSParser.h"
#include "core/css/RGBColor.h"
namespace WebCore {
@@ -49,7 +49,7 @@ Color SVGColor::colorFromRGBColorString(const String& colorString)
{
// FIXME: Rework css parser so it is more SVG aware.
RGBA32 color;
- if (BisonCSSParser::parseColor(color, colorString.stripWhiteSpace()))
+ if (CSSParser::parseColor(color, colorString.stripWhiteSpace()))
return color;
return Color();
}

Powered by Google App Engine
This is Rietveld 408576698