[webkit-changes] [WebKit/WebKit] 629a79: Improve CachedResource initialization

Rob Buis noreply at github.com
Mon Feb 20 09:00:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 629a795f8486ab3504290c19b11dfd315bec11ff
      https://github.com/WebKit/WebKit/commit/629a795f8486ab3504290c19b11dfd315bec11ff
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M Source/WebCore/loader/cache/CachedResource.cpp
    M Source/WebCore/loader/cache/CachedResource.h

  Log Message:
  -----------
  Improve CachedResource initialization
https://bugs.webkit.org/show_bug.cgi?id=252160

Reviewed by Chris Dumez.

Improve CachedResource initialization by using more
member initializers and fix m_loadPriority potentially
calling DefaultResourceLoadPriority::forResourceType
twice.

* Source/WebCore/loader/cache/CachedResource.cpp:
(WebCore::CachedResource::CachedResource):
* Source/WebCore/loader/cache/CachedResource.h:

Canonical link: https://commits.webkit.org/260538@main




More information about the webkit-changes mailing list