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

Unified Diff: Source/wtf/text/CString.cpp

Issue 1189593003: Rename Partitions::getRenderingPartition() -> getLayoutPartition() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/wtf/Partitions.cpp ('k') | Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/CString.cpp
diff --git a/Source/wtf/text/CString.cpp b/Source/wtf/text/CString.cpp
index 89ee0a34f9205bd287d854e6ee8d32e3f03eaf8a..e46a55de424b78e484366201b5cbeefc1b435a8f 100644
--- a/Source/wtf/text/CString.cpp
+++ b/Source/wtf/text/CString.cpp
@@ -41,13 +41,13 @@ PassRefPtr<CStringBuffer> CStringBuffer::createUninitialized(size_t length)
// The +1 is for the terminating NUL character.
size_t size = sizeof(CStringBuffer) + length + 1;
- CStringBuffer* stringBuffer = static_cast<CStringBuffer*>(partitionAllocGeneric(Partitions::getBufferPartition(), size));
+ CStringBuffer* stringBuffer = static_cast<CStringBuffer*>(partitionAllocGeneric(Partitions::bufferPartition(), size));
return adoptRef(new (stringBuffer) CStringBuffer(length));
}
void CStringBuffer::operator delete(void* ptr)
{
- partitionFreeGeneric(Partitions::getBufferPartition(), ptr);
+ partitionFreeGeneric(Partitions::bufferPartition(), ptr);
}
CString::CString(const char* str)
« no previous file with comments | « Source/wtf/Partitions.cpp ('k') | Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698