Index: src/core/SkTLList.h |
diff --git a/src/core/SkTLList.h b/src/core/SkTLList.h |
index ac7f0fa2ab125732833231df562c75f5b35e79d7..05755f59587691bc070cac33ac04279792061a8d 100644 |
--- a/src/core/SkTLList.h |
+++ b/src/core/SkTLList.h |
@@ -247,7 +247,7 @@ private: |
fFreeList.remove(node); |
++node->fBlock->fNodesInUse; |
} else { |
- Block* block = reinterpret_cast<Block*>(sk_malloc_flags(this->blockSize(), 0)); |
+ Block* block = reinterpret_cast<Block*>(sk_malloc_throw(this->blockSize())); |
node = &block->fNodes[0]; |
new (node) Node; |
node->fBlock = block; |