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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2416803002: Remove unused Internals::setMemoryCacheCapacities() (Closed)
Patch Set: Rebase. Created 4 years, 2 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: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index ac6b999f106e7f985a3c63e946668577df6b066a..21c35038a70d2d6ab26fc4ef12acada8418557f4 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1847,18 +1847,6 @@ String Internals::dumpRefCountedInstanceCounts() const {
return WTF::dumpRefCountedInstanceCounts();
}
-Vector<unsigned long> Internals::setMemoryCacheCapacities(
- unsigned long minDeadBytes,
- unsigned long maxDeadBytes,
- unsigned long totalBytes) {
- Vector<unsigned long> result;
- result.append(memoryCache()->minDeadCapacity());
- result.append(memoryCache()->maxDeadCapacity());
- result.append(memoryCache()->capacity());
- memoryCache()->setCapacities(minDeadBytes, maxDeadBytes, totalBytes);
- return result;
-}
-
bool Internals::hasGrammarMarker(Document* document, int from, int length) {
ASSERT(document);
if (!document->frame())
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.h ('k') | third_party/WebKit/Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698