Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 70af4c97bceadd7a32dffc764518b28a724d889e..dcd7d62af47914bc9de8be1e9b1edbb962a5cde7 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1244,9 +1244,11 @@ int Internals::lastSpellCheckProcessedSequence(Document* document, ExceptionStat |
return requester->lastProcessedSequence(); |
} |
-Vector<AtomicString> Internals::userPreferredLanguages() const |
+Vector<String> Internals::userPreferredLanguages() const |
{ |
- return WebCore::userPreferredLanguages(); |
+ Vector<String> result; |
+ result.appendVector(WebCore::userPreferredLanguages()); |
+ return result; |
} |
// Optimally, the bindings generator would pass a Vector<AtomicString> here but |
@@ -1589,9 +1591,9 @@ Vector<String> Internals::consoleMessageArgumentCounts(Document* document) const |
return result; |
} |
-Vector<unsigned long> Internals::setMemoryCacheCapacities(unsigned long minDeadBytes, unsigned long maxDeadBytes, unsigned long totalBytes) |
+Vector<unsigned> Internals::setMemoryCacheCapacities(unsigned long minDeadBytes, unsigned long maxDeadBytes, unsigned long totalBytes) |
{ |
- Vector<unsigned long> result; |
+ Vector<unsigned> result; |
result.append(memoryCache()->minDeadCapacity()); |
result.append(memoryCache()->maxDeadCapacity()); |
result.append(memoryCache()->capacity()); |