Index: src/core/SkVarAlloc.h |
diff --git a/src/core/SkVarAlloc.h b/src/core/SkVarAlloc.h |
index 0d0984285b614ad174b7dbceedddbe216db3ee48..3729bad1051b6ad518aef157edc43ceb4edabc3f 100644 |
--- a/src/core/SkVarAlloc.h |
+++ b/src/core/SkVarAlloc.h |
@@ -19,12 +19,12 @@ public: |
~SkVarAlloc(); |
- // Returns contiguous bytes aligned at least for pointers. You may pass SK_MALLOC_THROW, etc. |
- char* alloc(size_t bytes, unsigned sk_malloc_flags) { |
+ // Returns contiguous bytes aligned at least for pointers. |
+ char* alloc(size_t bytes) { |
bytes = SkAlignPtr(bytes); |
if (bytes > fRemaining) { |
- this->makeSpace(bytes, sk_malloc_flags); |
+ this->makeSpace(bytes); |
} |
SkASSERT(bytes <= fRemaining); |
@@ -39,7 +39,7 @@ public: |
size_t approxBytesAllocated() const { return fBytesAllocated; } |
private: |
- void makeSpace(size_t bytes, unsigned flags); |
+ void makeSpace(size_t bytes); |
size_t fBytesAllocated; |