Index: include/core/SkRegion.h |
diff --git a/include/core/SkRegion.h b/include/core/SkRegion.h |
index a088d546200be5211aff976fddc2118a1b392af1..b064532c7ffba5f7296ec3f6d819eba07b735e55 100644 |
--- a/include/core/SkRegion.h |
+++ b/include/core/SkRegion.h |
@@ -367,7 +367,7 @@ public: |
* Initialized the region from the buffer, returning the number |
* of bytes actually read. |
*/ |
- uint32_t readFromMemory(const void* buffer); |
+ uint32_t readFromMemory(const void* buffer, uint32_t length); |
/** |
* Returns a reference to a global empty region. Just a convenience for |