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

Unified Diff: third_party/WebKit/Source/wtf/Partitions.h

Issue 1409113010: Oilpan: Remove Partitions::fastStrDup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Partitions.h
diff --git a/third_party/WebKit/Source/wtf/Partitions.h b/third_party/WebKit/Source/wtf/Partitions.h
index 3e4eeed090bdfdce93b4071df3876e54a519597f..a36c826b643ad5f2fc2a169976cdb1a7c3aa80c5 100644
--- a/third_party/WebKit/Source/wtf/Partitions.h
+++ b/third_party/WebKit/Source/wtf/Partitions.h
@@ -117,13 +117,6 @@ public:
{
return partitionReallocGeneric(Partitions::fastMallocPartition(), p, n);
}
- static char* fastStrDup(const char* src)
- {
- size_t len = strlen(src) + 1;
- char* dup = static_cast<char*>(fastMalloc(len));
- memcpy(dup, src, len);
- return dup;
- }
static void fastFree(void* p)
{
partitionFreeGeneric(Partitions::fastMallocPartition(), p);
« no previous file with comments | « third_party/WebKit/Source/core/xml/XSLTProcessorLibxslt.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698