[webkit-changes] [WebKit/WebKit] d83571: [GLIB] Make SysprofAnnotator pass null / empty str...
Georges Basile Stavracas Neto
noreply at github.com
Fri Aug 9 05:27:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d83571d66df9844a25c4156433a50665ab328f6d
https://github.com/WebKit/WebKit/commit/d83571d66df9844a25c4156433a50665ab328f6d
Author: Georges Basile Stavracas Neto <feaneron at igalia.com>
Date: 2024-08-09 (Fri, 09 Aug 2024)
Changed paths:
M Source/WTF/wtf/SystemTracing.h
M Source/WTF/wtf/glib/SysprofAnnotator.h
Log Message:
-----------
[GLIB] Make SysprofAnnotator pass null / empty strings
https://bugs.webkit.org/show_bug.cgi?id=277736
Reviewed by Adrian Perez de Castro.
Instead of a fully empty string ("") or no string at all (nullptr), it
uses a whitespaced string (" "). This makes Sysprof think there's a
description, when in fact it doesn't have.
Pass nullptr when the string is empty, and never pass whitespaced
strings as descriptions.
* Source/WTF/wtf/SystemTracing.h:
* Source/WTF/wtf/glib/SysprofAnnotator.h:
Canonical link: https://commits.webkit.org/282044@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list