Summary: | DRT pasteboard object should return the correct pasteboard name | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Enrica Casucci <enrica> | ||||
Component: | Tools / Tests | Assignee: | Enrica Casucci <enrica> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 77261 | ||||||
Attachments: |
|
Description
Enrica Casucci
2012-01-27 16:09:55 PST
Created attachment 124396 [details]
Pastch
Comment on attachment 124396 [details] Pastch View in context: https://bugs.webkit.org/attachment.cgi?id=124396&action=review r=me assuming you fix the memory management issue. > Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.m:45 > +-(id)initWithName:(NSString*)name; Needs a space before the *. A newline before this line wouldn’t hurt either. > Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.m:91 > +- (id)initWithName:(NSString*)name Needs a space before the *. > Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.m:96 > + pasteboardName = name; You should -copy name here and -release pasteboardName in -dealloc. thanks for the review! I'll fix the memory management issue. Dan pointed out I should have used copy instead of initWithString. Landed a follow-up fix. http://trac.webkit.org/changeset/106172 |