diff options
author | 2023-08-10 23:54:44 +0000 | |
---|---|---|
committer | 2023-08-17 21:00:30 +0000 | |
commit | cacaee48a9c1c7cba1143caa85ddc94dec7a2033 (patch) | |
tree | 1c1cc877889fa486be8c6ced478e976c8e1f725e /libs/hwui/RenderNode.h | |
parent | 61b5f48d5d5b0dc8432f28d66c85c15edb1e4dc0 (diff) |
Use String8/16 c_str [graphics]
Bug: 295394788
Test: make checkbuild
Change-Id: I605c6c25c2415bdb4996715f270ee8be9e9d1a23
Merged-In: I605c6c25c2415bdb4996715f270ee8be9e9d1a23
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r-- | libs/hwui/RenderNode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index da0476259b97..7092e1733570 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -115,7 +115,7 @@ public: return mDisplayList.containsProjectionReceiver(); } - const char* getName() const { return mName.string(); } + const char* getName() const { return mName.c_str(); } void setName(const char* name) { if (name) { |