bmalloc: Rename SmallPage to SmallRun
[WebKit-https.git] / Source / bmalloc / bmalloc / Allocator.cpp
index 23514eb..c099d75 100644 (file)
@@ -114,8 +114,8 @@ void* Allocator::reallocate(void* object, size_t newSize)
     size_t oldSize = 0;
     switch (objectType(object)) {
     case Small: {
-        SmallPage* page = SmallPage::get(SmallLine::get(object));
-        oldSize = objectSize(page->sizeClass());
+        SmallRun* run = SmallRun::get(SmallLine::get(object));
+        oldSize = objectSize(run->sizeClass());
         break;
     }
     case Large: {