[webkit-changes] [WebKit/WebKit] 20a9c8: Document::ConstructionFlags should be an enum class

Ryosuke Niwa noreply at github.com
Sat May 13 00:01:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 20a9c8d5acce5c1040576ace97aabcea39c6f28b
      https://github.com/WebKit/WebKit/commit/20a9c8d5acce5c1040576ace97aabcea39c6f28b
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-05-13 (Sat, 13 May 2023)

  Changed paths:
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/html/HTMLDocument.cpp
    M Source/WebCore/html/HTMLDocument.h

  Log Message:
  -----------
  Document::ConstructionFlags should be an enum class
https://bugs.webkit.org/show_bug.cgi?id=256742

Reviewed by Chris Dumez.

Renamed the enum to ConstructionFlag, made it an enum class, and deployed OptionSet.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::m_isNonRenderedPlaceholder):
(WebCore::Document::createNonRenderedPlaceholder):
* Source/WebCore/dom/Document.h:
(WebCore::Document::Document):
* Source/WebCore/html/HTMLDocument.cpp:
(WebCore::HTMLDocument::createSynthesizedDocument):
(WebCore::HTMLDocument::HTMLDocument):
* Source/WebCore/html/HTMLDocument.h:
(WebCore::HTMLDocument::HTMLDocument):
(WebCore::HTMLDocument::create):

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




More information about the webkit-changes mailing list