Bug 70853

Summary: Make MutationObserverEntry a class instead of a struct to fix clang build
Product: WebKit Reporter: Adam Klein <adamk>
Component: New BugsAssignee: Adam Klein <adamk>
Status: RESOLVED FIXED    
Severity: Normal CC: ojan, rafaelw, rniwa, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Adam Klein
Reported 2011-10-25 14:38:10 PDT
Make MutationObserverEntry a class instead of a struct to fix clang build
Attachments
Patch (1.37 KB, patch)
2011-10-25 14:39 PDT, Adam Klein
no flags
Patch (1.32 KB, patch)
2011-10-25 15:06 PDT, Adam Klein
no flags
Adam Klein
Comment 1 2011-10-25 14:39:36 PDT
Ryosuke Niwa
Comment 2 2011-10-25 14:45:52 PDT
Comment on attachment 112406 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112406&action=review > Source/WebCore/dom/NodeRareData.h:93 > +class MutationObserverEntry { > +public: We should probably make observer and options private if we're making this a class.
Adam Klein
Comment 3 2011-10-25 14:50:23 PDT
Comment on attachment 112406 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112406&action=review >> Source/WebCore/dom/NodeRareData.h:93 >> +public: > > We should probably make observer and options private if we're making this a class. We're "making it a class" only in the sense that we're using the keyword "class" here to quiet the compiler. It's still logically a struct with a few helper methods. If you'd rather I change the forward-declaration I can do that too; I mainly didn't do that because I didn't know how to sort it with the rest of the forward decls there :)
Ryosuke Niwa
Comment 4 2011-10-25 15:00:11 PDT
(In reply to comment #3) > If you'd rather I change the forward-declaration I can do that too; I mainly didn't do that because I didn't know how to sort it with the rest of the forward decls there :) Okay, then I'd prefer that. Structs should probably appear after classes.
Adam Klein
Comment 5 2011-10-25 15:06:24 PDT
WebKit Review Bot
Comment 6 2011-10-25 15:54:58 PDT
Comment on attachment 112413 [details] Patch Clearing flags on attachment: 112413 Committed r98402: <http://trac.webkit.org/changeset/98402>
WebKit Review Bot
Comment 7 2011-10-25 15:55:03 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.