Index: Source/core/svg/SVGTests.cpp |
diff --git a/Source/core/svg/SVGTests.cpp b/Source/core/svg/SVGTests.cpp |
index 1332610788d601c9803961b9dfb1127056260a33..add25eb087d2ae7ba3dd8657a670434573148f7b 100644 |
--- a/Source/core/svg/SVGTests.cpp |
+++ b/Source/core/svg/SVGTests.cpp |
@@ -110,7 +110,7 @@ bool SVGTests::isValid() const |
unsigned systemLanguageSize = m_systemLanguage.value.size(); |
for (unsigned i = 0; i < systemLanguageSize; ++i) { |
String value = m_systemLanguage.value.at(i); |
- if (value != defaultLanguage().substring(0, 2)) |
+ if (value != defaultLanguage().string().substring(0, 2)) |
eseidel
2014/01/02 19:18:28
AtomicString might need substring() too. not sure
|
return false; |
} |