summaryrefslogtreecommitdiff
path: root/libs/hwui/DisplayListCanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/DisplayListCanvas.h')
-rw-r--r--libs/hwui/DisplayListCanvas.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/hwui/DisplayListCanvas.h b/libs/hwui/DisplayListCanvas.h
index 06e72a06eaca..e5711e35a88b 100644
--- a/libs/hwui/DisplayListCanvas.h
+++ b/libs/hwui/DisplayListCanvas.h
@@ -256,10 +256,6 @@ private:
return dstBuffer;
}
- inline char* refText(const char* text, size_t byteLength) {
- return (char*) refBuffer<uint8_t>((uint8_t*)text, byteLength);
- }
-
inline const SkPath* refPath(const SkPath* path) {
if (!path) return nullptr;