WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178836
DidMoveToNewDocumentAssertionScope shouldn't be necessary
https://bugs.webkit.org/show_bug.cgi?id=178836
Summary
DidMoveToNewDocumentAssertionScope shouldn't be necessary
Ryosuke Niwa
Reported
2017-10-25 15:49:32 PDT
DidMoveToNewDocumentAssertionScope is there to only ensure Node::didMoveToNewDocument is eventually called by implementations in derived classes. A better to way to ensure that Node::didMoveToNewDocument is always called is to simply call it directly. Since only subclasses of Element and ShadowRoot override this virtual member function and we already have a special case for ShadowRoot, we can de-vritualize for all non-Element cases.
Attachments
Cleanup
(21.06 KB, patch)
2017-10-25 16:24 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Cleanup
(20.86 KB, patch)
2017-10-25 16:40 PDT
,
Ryosuke Niwa
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2017-10-25 15:50:19 PDT
<
rdar://problem/35008876
>
Ryosuke Niwa
Comment 2
2017-10-25 16:24:41 PDT
Created
attachment 324918
[details]
Cleanup
Build Bot
Comment 3
2017-10-25 16:27:25 PDT
Attachment 324918
[details]
did not pass style-queue: ERROR: Source/WebCore/dom/ShadowRoot.cpp:105: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] ERROR: Source/WebCore/dom/ShadowRoot.cpp:111: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] ERROR: Source/WebCore/dom/ShadowRoot.cpp:121: Please replace ASSERT_WITH_SECURITY_IMPLICATION() with RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(). [security/assertion] [5] Total errors found: 3 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Ryosuke Niwa
Comment 4
2017-10-25 16:40:36 PDT
Created
attachment 324922
[details]
Cleanup
Antti Koivisto
Comment 5
2017-10-26 00:42:01 PDT
Comment on
attachment 324922
[details]
Cleanup r=me
WebKit Commit Bot
Comment 6
2017-10-26 15:02:42 PDT
Comment on
attachment 324922
[details]
Cleanup Clearing flags on attachment: 324922 Committed
r224053
: <
https://trac.webkit.org/changeset/224053
>
WebKit Commit Bot
Comment 7
2017-10-26 15:02:43 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug