[webkit-changes] [WebKit/WebKit] 9f1e38: Return final ContentRuleList file after compilatio...

Olivier Blin noreply at github.com
Thu Sep 19 03:52:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f1e386e4dc86fd7d0396c1cd8a7ead1d46264c4
      https://github.com/WebKit/WebKit/commit/9f1e386e4dc86fd7d0396c1cd8a7ead1d46264c4
  Author: Olivier Blin <olivier.blin at softathome.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp

  Log Message:
  -----------
  Return final ContentRuleList file after compilation instead of temporary file
https://bugs.webkit.org/show_bug.cgi?id=279902

Reviewed by Timothy Hatcher.

After compiling a ContentRuleList, a map of the temporary file was
returned, instead of the final file.
This shared a map to a read-write filehandle to the WebProcess, while
it does not need to write the file.

Instead, share a read-only map of the final file.

Drive-by removal of trailing spaces.

* Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp:
(API::compiledToFile):

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