[webkit-changes] [WebKit/WebKit] ca9cbc: Extract HashMapStylePropertyMap from CustomPaintIm...

Chris Dumez noreply at github.com
Fri Dec 2 11:57:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca9cbcaf34069404b8868b20307805f184122c34
      https://github.com/WebKit/WebKit/commit/ca9cbcaf34069404b8868b20307805f184122c34
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    A Source/WebCore/css/typedom/HashMapStylePropertyMapReadOnly.cpp
    A Source/WebCore/css/typedom/HashMapStylePropertyMapReadOnly.h
    M Source/WebCore/html/CustomPaintImage.cpp

  Log Message:
  -----------
  Extract HashMapStylePropertyMap from CustomPaintImage and into its own file
https://bugs.webkit.org/show_bug.cgi?id=248622

Reviewed by Antoine Quint.

Extract HashMapStylePropertyMap from CustomPaintImage and into its own file.
Also rename to HashMapStylePropertyMapReadOnly for clarity.

* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/typedom/HashMapStylePropertyMapReadOnly.cpp: Added.
(WebCore::HashMapStylePropertyMapReadOnly::create):
(WebCore::HashMapStylePropertyMapReadOnly::HashMapStylePropertyMapReadOnly):
(WebCore::HashMapStylePropertyMapReadOnly::propertyValue const):
(WebCore::HashMapStylePropertyMapReadOnly::customPropertyValue const):
(WebCore::HashMapStylePropertyMapReadOnly::size const):
(WebCore::HashMapStylePropertyMapReadOnly::entries const):
* Source/WebCore/css/typedom/HashMapStylePropertyMapReadOnly.h: Added.
* Source/WebCore/html/CustomPaintImage.cpp:
(WebCore::CustomPaintImage::doCustomPaint):
(): Deleted.

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




More information about the webkit-changes mailing list