[Webkit-unassigned] [Bug 45089] New: [EFL] Remove GOwnPtr to OwnPtr in FontCacheCairo.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 1 22:46:09 PDT 2010


           Summary: [EFL] Remove GOwnPtr to OwnPtr in FontCacheCairo.cpp
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit EFL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ryuan.choi at samsung.com

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()));

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list