diff options
| author | 2023-11-28 16:55:22 +0800 | |
|---|---|---|
| committer | 2023-11-30 07:55:37 +0000 | |
| commit | 8629ed8c3ff6265fe414955e906f074be8eb5dae (patch) | |
| tree | f8537b4be30199feb9f8e419b98592cb3a91f404 /libs/androidfw/FileStream.cpp | |
| parent | 55c8a818ecd3987bd1ccef1a8bc6066ae58a7a13 (diff) | |
Fix assertion checks in libs/hwui/Mesh.cpp
The original code contained assertions that checked `fICount` and `fIOffset`, which seem to be mistakenly copied from the Skia codebase. This commit corrects the assertions to properly reflect the variables used in the AOSP codebase, updating them to `mIndexCount` and `mIndexOffset` as intended. The correction ensures accurate runtime checks for the expected conditions and prevents compilation error due to undeclared identifier.
Bug: 313566801
Change-Id: I1432598be14a6960d0dbe373e1ac997f5f5f8ee6
Signed-off-by: Shixing Ma <mashixing@xiaomi.corp-partner.google.com>
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions