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

Unified Diff: Source/wtf/ArrayBufferContents.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/platform/text/BidiCharacterRun.cpp ('k') | Source/wtf/BitVector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ArrayBufferContents.cpp
diff --git a/Source/wtf/ArrayBufferContents.cpp b/Source/wtf/ArrayBufferContents.cpp
index 1fd9c5248e06104b1650338ff689eaccd5fdc610..b318ebec94c2fa5c69ae37faf6406e2df2de4f7d 100644
--- a/Source/wtf/ArrayBufferContents.cpp
+++ b/Source/wtf/ArrayBufferContents.cpp
@@ -104,14 +104,14 @@ void ArrayBufferContents::allocateMemory(size_t size, InitializationPolicy polic
{
if (s_adjustAmountOfExternalAllocatedMemoryFunction)
s_adjustAmountOfExternalAllocatedMemoryFunction(static_cast<int>(size));
- data = partitionAllocGenericFlags(WTF::Partitions::getBufferPartition(), PartitionAllocReturnNull, size);
+ data = partitionAllocGenericFlags(WTF::Partitions::bufferPartition(), PartitionAllocReturnNull, size);
if (policy == ZeroInitialize && data)
memset(data, '\0', size);
}
void ArrayBufferContents::freeMemory(void* data, size_t size)
{
- partitionFreeGeneric(WTF::Partitions::getBufferPartition(), data);
+ partitionFreeGeneric(WTF::Partitions::bufferPartition(), data);
if (s_adjustAmountOfExternalAllocatedMemoryFunction)
s_adjustAmountOfExternalAllocatedMemoryFunction(-static_cast<int>(size));
}
« no previous file with comments | « Source/platform/text/BidiCharacterRun.cpp ('k') | Source/wtf/BitVector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698