summaryrefslogtreecommitdiff
path: root/chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp')
-rw-r--r--chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp b/chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp
index 4b2183b88f4..710822fee70 100644
--- a/chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp
+++ b/chromium/third_party/skia/tools/viewer/SkSLDebuggerSlide.cpp
@@ -34,7 +34,7 @@ void SkSLDebuggerSlide::unload() {
}
void SkSLDebuggerSlide::showLoadTraceGUI() {
- ImGui::InputText("Trace Path", fTraceFile, SK_ARRAY_COUNT(fTraceFile));
+ ImGui::InputText("Trace Path", fTraceFile, std::size(fTraceFile));
bool load = ImGui::Button("Load Debug Trace");
if (load) {