Bug 70654 - Rename WKProcessCluster to WKProcessGroup
Summary: Rename WKProcessCluster to WKProcessGroup
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 15:16 PDT by Sam Weinig
Modified: 2011-10-21 15:25 PDT (History)
1 user (show)

See Also:


Attachments
Patch (24.68 KB, patch)
2011-10-21 15:17 PDT, Sam Weinig
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2011-10-21 15:16:13 PDT
Rename WKProcessCluster to WKProcessGroup
Comment 1 Sam Weinig 2011-10-21 15:17:21 PDT
Created attachment 112030 [details]
Patch
Comment 2 WebKit Review Bot 2011-10-21 15:19:43 PDT
Attachment 112030 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1

Source/WebKit2/UIProcess/API/mac/WKProcessGroup.h:33:  This { should be at the end of the previous line  [whitespace/braces] [4]
Source/WebKit2/UIProcess/API/mac/WKProcessGroupInternal.h:28:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 2 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Simon Fraser (smfr) 2011-10-21 15:20:17 PDT
Comment on attachment 112030 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=112030&action=review

> Source/WebKit2/UIProcess/API/mac/WKProcessGroup.h:37
> +- (id)init;

You don't need to declare -init in the header.

> Source/WebKit2/UIProcess/API/mac/WKProcessGroup.mm:56
> +    _data = [[WKProcessClusterData alloc] init];

Can't we use 'retain' properties for this?
Comment 4 Sam Weinig 2011-10-21 15:25:00 PDT
(In reply to comment #3)
> (From update of attachment 112030 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=112030&action=review
> 
> > Source/WebKit2/UIProcess/API/mac/WKProcessGroup.h:37
> > +- (id)init;
> 
> You don't need to declare -init in the header.

Will remove.

> > Source/WebKit2/UIProcess/API/mac/WKProcessGroup.mm:56
> > +    _data = [[WKProcessClusterData alloc] init];
> 
> Can't we use 'retain' properties for this?

Since _data is meant to be @private (will fix this too), I don't think I can use an @property.  Once we don't compile the API in the fragile Objective-C ABI, I can use a class extension with a @property though.
Comment 5 Sam Weinig 2011-10-21 15:25:23 PDT
Committed r98160: <http://trac.webkit.org/changeset/98160>