Bug 45089

Summary: [EFL] Remove GOwnPtr to OwnPtr in FontCacheCairo.cpp
Product: WebKit Reporter: Ryuan Choi <ryuan.choi>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: antognolli+webkit, gustavo, gyuyoung.kim, leandro, lucas.de.marchi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch none

Ryuan Choi
Reported 2010-09-01 22:46:09 PDT
Because FontCacheCairo use GOwnPtr, EWebKit can't remove glib dependency without GLIB_SUPPORT. I suggest to change GOwnPtr to OwnPtr at below code in FontCacheCairo. GOwnPtr<FcPattern> pattern(FcPatternCreate()); if (!FcPatternAddString(pattern.get(), FC_FAMILY, reinterpret_cast<const FcChar8*>(fcfamily))) return 0; GOwnPtr<FcObjectSet> objectSet(FcObjectSetCreate()); if (!FcObjectSetAdd(objectSet.get(), FC_FAMILY)) return 0; GOwnPtr<FcFontSet> fontSet(FcFontList(0, pattern.get(), objectSet.get()));
Attachments
Patch (12.49 KB, patch)
2010-09-01 22:58 PDT, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2010-09-01 22:58:26 PDT
Rafael Antognolli
Comment 2 2010-09-02 09:18:56 PDT
Hi Ryuan, I think you sent exactly the same patch that I sent in bug 45053 :P
Ryuan Choi
Comment 3 2010-09-05 04:10:23 PDT
yes, Sorry I didn't see :) *** This bug has been marked as a duplicate of bug 45053 ***
Martin Robinson
Comment 4 2010-09-15 11:58:52 PDT
Comment on attachment 66335 [details] Patch Clearing flags, as this has already landed elsewhere.
Note You need to log in before you can comment on or make changes to this bug.