Bug 27225

Summary: Change all Noncopyable inheriting to publicly inheriting
Product: WebKit Reporter: Zoltan Horvath <zoltan>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, darin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on:    
Bug Blocks: 27248    
Attachments:
Description Flags
proposed patch
darin: review-
updated proposed patch darin: review+

Description Zoltan Horvath 2009-07-13 11:28:41 PDT
Noncopyable will be inherited from FastAllocBase (I'll file another bug), so all of Noncopyable inheriting visibility have to change to public. (There is no reason to use private inheritance, but now it's reasonable to change it to public.)
Comment 1 Zoltan Horvath 2009-07-13 11:44:18 PDT
Created attachment 32668 [details]
proposed patch
Comment 2 Darin Adler 2009-07-14 15:34:20 PDT
Comment on attachment 32668 [details]
proposed patch

> -struct OpaqueJSClassContextData : Noncopyable {
> +struct OpaqueJSClassContextData : public Noncopyable {

struct inheritance is already public, so this change is not needed. There are tons of other cases like this. Please don't make those changes since they aren't needed. Otherwise this seems fine. review- because I'd like to see the patch without the unneeded changes.
Comment 3 Zoltan Horvath 2009-07-14 16:08:46 PDT
Created attachment 32745 [details]
updated proposed patch

I've updated the patch and removed the unnecessary struct changes.
Comment 4 Brent Fulgham 2009-07-14 22:19:31 PDT
Landed in http://trac.webkit.org/changeset/45891.