Index: Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp |
index 7597a83a1896bf32b7c13fd4f8e85d345ec7fafc..eaf70d55e72002c23d348a57e83be650e27794a4 100644 |
--- a/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -357,32 +357,6 @@ CSSStyleRule* InspectorCSSAgent::asCSSStyleRule(CSSRule* rule) |
return toCSSStyleRule(rule); |
} |
-template <typename CharType, size_t bufferLength> |
-static size_t vendorPrefixLowerCase(const CharType* string, size_t stringLength, char (&buffer)[bufferLength]) |
-{ |
- static const char lowerCaseOffset = 'a' - 'A'; |
- |
- if (string[0] != '-') |
- return 0; |
- |
- for (size_t i = 0; i < stringLength - 1; i++) { |
- CharType c = string[i + 1]; |
- if (c == '-') |
- return i; |
- if (i == bufferLength) |
- break; |
- if (c < 'A' || c > 'z') |
- break; |
- if (c >= 'a') |
- buffer[i] = c; |
- else if (c <= 'Z') |
- buffer[i] = c + lowerCaseOffset; |
- else |
- break; |
- } |
- return 0; |
-} |
- |
InspectorCSSAgent::InspectorCSSAgent(InspectorDOMAgent* domAgent, InspectorPageAgent* pageAgent, InspectorResourceAgent* resourceAgent) |
: InspectorBaseAgent<InspectorCSSAgent>("CSS") |
, m_frontend(0) |