[webkit-changes] [WebKit/WebKit] 30806b: [GLIB] Fix Vector<char> usage in SysprofAnnotator

Georges Basile Stavracas Neto noreply at github.com
Wed Aug 7 07:47:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30806bca913d2f4037d639524ca9ce08ac062d31
      https://github.com/WebKit/WebKit/commit/30806bca913d2f4037d639524ca9ce08ac062d31
  Author: Georges Basile Stavracas Neto <feaneron at igalia.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M Source/WTF/wtf/glib/SysprofAnnotator.h

  Log Message:
  -----------
  [GLIB] Fix Vector<char> usage in SysprofAnnotator
https://bugs.webkit.org/show_bug.cgi?id=277719

Reviewed by Carlos Garcia Campos.

We want to have a vector that heap-allocates the buffer for a plain old
char array, so as to avoid a copy when adding it to the HashMap.

Use the proper declaration of Vector<char> for that.

* Source/WTF/wtf/glib/SysprofAnnotator.h:

Canonical link: https://commits.webkit.org/281939@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