Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 9e5692c47548d7d94f321617f198321bcecf2b75..4d2c6b4ceaa8bcddcf796e033e98e507319da528 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -250,16 +250,6 @@ Handle<ByteArray> Factory::NewByteArray(int length, PretenureFlag pretenure) { |
} |
-Handle<PixelArray> Factory::NewPixelArray(int length, |
- uint8_t* external_pointer, |
- PretenureFlag pretenure) { |
- ASSERT(0 <= length); |
- CALL_HEAP_FUNCTION(Heap::AllocatePixelArray(length, |
- external_pointer, |
- pretenure), PixelArray); |
-} |
- |
- |
Handle<ExternalArray> Factory::NewExternalArray(int length, |
ExternalArrayType array_type, |
void* external_pointer, |
@@ -334,8 +324,8 @@ Handle<Map> Factory::GetSlowElementsMap(Handle<Map> src) { |
} |
-Handle<Map> Factory::GetPixelArrayElementsMap(Handle<Map> src) { |
- CALL_HEAP_FUNCTION(src->GetPixelArrayElementsMap(), Map); |
+Handle<Map> Factory::NewExternalArrayElementsMap(Handle<Map> src) { |
+ CALL_HEAP_FUNCTION(src->NewExternalArrayElementsMap(), Map); |
} |