Make WebCompiledContentRuleListData non-default-constructible, move its nonserialized...
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 22:10:03 +0000 (22:10 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Apr 2019 22:10:03 +0000 (22:10 +0000)
commitb304f636606ff0aff273e08b4c9a6c2d10e1f1f3
treebed306c8c90ecb0764a31bf6a038a03f24631c77
parentc0251d5c773f1f5b32ac504e0c403904c9b588b5
Make WebCompiledContentRuleListData non-default-constructible, move its nonserialized member to API::ContentRuleList
https://bugs.webkit.org/show_bug.cgi?id=197033

Reviewed by Tim Horton.

This is just cleanup that makes the code nicer without changing behavior.

* Shared/WebCompiledContentRuleListData.cpp:
(WebKit::WebCompiledContentRuleListData::encode const):
(WebKit::WebCompiledContentRuleListData::decode):
* Shared/WebCompiledContentRuleListData.h:
(WebKit::WebCompiledContentRuleListData::WebCompiledContentRuleListData):
* UIProcess/API/APIContentRuleList.h:
* UIProcess/API/APIContentRuleListStore.cpp:
(API::createExtension):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/Shared/WebCompiledContentRuleListData.cpp
Source/WebKit/Shared/WebCompiledContentRuleListData.h
Source/WebKit/UIProcess/API/APIContentRuleList.cpp
Source/WebKit/UIProcess/API/APIContentRuleList.h
Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp