Bug 72858

Summary: WTF::String has extra WTF_EXPORT_PRIVATE
Product: WebKit Reporter: Hajime Morrita <morrita>
Component: Web Template FrameworkAssignee: Hajime Morrita <morrita>
Status: RESOLVED FIXED    
Severity: Normal CC: kevino, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 67852    
Attachments:
Description Flags
Patch none

Hajime Morrita
Reported 2011-11-20 22:15:10 PST
Some inline method on WTF::String has declared as WTF_EXPORT_PRIVATE, which is incompatible against Mac port. Mac port forbid inline exported functions.
Attachments
Patch (1.88 KB, patch)
2011-11-21 03:33 PST, Hajime Morrita
no flags
Hajime Morrita
Comment 1 2011-11-21 03:33:53 PST
WebKit Review Bot
Comment 2 2011-11-21 03:35:19 PST
Attachment 116060 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/wtf/text/WTFString.h:114: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Hajime Morrita
Comment 3 2011-11-21 03:41:18 PST
The style error was a false charge. It was already there.
Hajime Morrita
Comment 4 2011-11-22 00:11:21 PST
Hi Kevin, could you take a look? I guess you added these WTF_EXPORT_PRIVATE.
Kevin Ollivier
Comment 5 2011-11-22 09:37:46 PST
(In reply to comment #4) > Hi Kevin, could you take a look? I guess you added these WTF_EXPORT_PRIVATE. Sure, will do, but it might be a day or two because I want to double-check that wx still links okay after removing them. I vaguely remember having some sort of error when I didn't declare those symbols exported, but it's been a long time so I need to double-check it.
Kevin Ollivier
Comment 6 2011-11-22 20:26:14 PST
Comment on attachment 116060 [details] Patch Okay, I double-checked wx compilation and it looks fine, so these can go.
WebKit Review Bot
Comment 7 2011-11-23 01:11:11 PST
Comment on attachment 116060 [details] Patch Clearing flags on attachment: 116060 Committed r101054: <http://trac.webkit.org/changeset/101054>
WebKit Review Bot
Comment 8 2011-11-23 01:11:17 PST
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.