[webkit-changes] [WebKit/WebKit] 3b9cbf: Reduce use of CheckedRef for non-stack variables

Chris Dumez noreply at github.com
Thu Jan 11 10:39:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b9cbf2ef6fb716c4ac446f327ba4c88ee134565
      https://github.com/WebKit/WebKit/commit/3b9cbf2ef6fb716c4ac446f327ba4c88ee134565
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M Source/WebCore/css/parser/SizesAttributeParser.h
    M Source/WebCore/dom/ConstantPropertyMap.h
    M Source/WebCore/dom/CurrentScriptIncrementer.h
    M Source/WebCore/dom/DOMImplementation.h
    M Source/WebCore/dom/DeviceOrientationAndMotionAccessController.h
    M Source/WebCore/dom/DocumentFontLoader.h
    M Source/WebCore/dom/DocumentMarkerController.h
    M Source/WebCore/dom/DocumentStorageAccess.h
    M Source/WebCore/dom/ExtensionStyleSheets.h
    M Source/WebCore/dom/FullscreenManager.h
    M Source/WebCore/dom/ScriptRunner.h
    M Source/WebCore/dom/VisitedLinkState.h
    M Source/WebCore/editing/AlternativeTextController.h
    M Source/WebCore/editing/Editor.h
    M Source/WebCore/editing/SpellChecker.h
    M Source/WebCore/html/parser/HTMLConstructionSite.h
    M Source/WebCore/html/parser/HTMLPreloadScanner.cpp
    M Source/WebCore/html/parser/HTMLResourcePreloader.h

  Log Message:
  -----------
  Reduce use of CheckedRef for non-stack variables
https://bugs.webkit.org/show_bug.cgi?id=267414

Reviewed by Brent Fulgham.

This tested as performance neutral on Speedometer 2 & 3.

* Source/WebCore/css/parser/SizesAttributeParser.h:
* Source/WebCore/dom/ConstantPropertyMap.h:
* Source/WebCore/dom/CurrentScriptIncrementer.h:
* Source/WebCore/dom/DOMImplementation.h:
* Source/WebCore/dom/DeviceOrientationAndMotionAccessController.h:
* Source/WebCore/dom/DocumentFontLoader.h:
* Source/WebCore/dom/DocumentMarkerController.h:
* Source/WebCore/dom/DocumentStorageAccess.h:
* Source/WebCore/dom/ExtensionStyleSheets.h:
* Source/WebCore/dom/FullscreenManager.h:
* Source/WebCore/dom/ScriptRunner.h:
* Source/WebCore/dom/VisitedLinkState.h:
* Source/WebCore/editing/AlternativeTextController.h:
* Source/WebCore/editing/Editor.h:
* Source/WebCore/editing/SpellChecker.h:
* Source/WebCore/html/parser/HTMLConstructionSite.h:
* Source/WebCore/html/parser/HTMLPreloadScanner.cpp:
* Source/WebCore/html/parser/HTMLResourcePreloader.h:

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




More information about the webkit-changes mailing list