Index: Source/core/css/CSSParser-in.cpp |
diff --git a/Source/core/css/CSSParser-in.cpp b/Source/core/css/CSSParser-in.cpp |
index 06a5c79287745e9d8ccc0dd4105d8ea2f51b0660..5ff95aea31b978239861ca626693c385e0310184 100644 |
--- a/Source/core/css/CSSParser-in.cpp |
+++ b/Source/core/css/CSSParser-in.cpp |
@@ -133,17 +133,6 @@ static bool equalIgnoringCase(CSSParserValue* value, const char (&b)[N]) |
return equalIgnoringCase(value->string, b); |
} |
-static bool hasPrefix(const char* string, unsigned length, const char* prefix) |
-{ |
- for (unsigned i = 0; i < length; ++i) { |
- if (!prefix[i]) |
- return true; |
- if (string[i] != prefix[i]) |
- return false; |
- } |
- return false; |
-} |
- |
static PassRefPtr<CSSPrimitiveValue> createPrimitiveValuePair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second, Pair::IdenticalValuesPolicy identicalValuesPolicy = Pair::DropIdenticalValues) |
{ |
return cssValuePool().createValue(Pair::create(first, second, identicalValuesPolicy)); |