[Webkit-unassigned] [Bug 109651] New: Build fix: recent changes on WebCore/editing/Editor broke Qt and EFL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 12 19:45:10 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109651

           Summary: Build fix: recent changes on WebCore/editing/Editor
                    broke Qt and EFL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: savagobr at yahoo.com


Build will fail at a an invalid conversion between types. A look in Editor.h revealed that avoidIntersectionWithDeleteButtonController() was available in overloaded form (with different return types).

This patch makes available the overloaded class member function outside of the ifdef in header file (not sure if this is the best fix).

The compiler error:

/home/adenilson/apps/webkit/Webkit/Source/WebCore/editing/Editor.cpp: In member function ‘WTF::PassRefPtr<WebCore::Range> WebCore::Editor::rangeForPoint(const WebCore::IntPoint&)’:
/home/adenilson/apps/webkit/Webkit/Source/WebCore/editing/Editor.cpp:2450:91: error: could not convert ‘WebCore::Editor::avoidIntersectionWithDeleteButtonController(const WebCore::VisibleSelection&) const((* & WebCore::VisibleSelection(((const WebCore::Range*)WebCore::VisibleSelection::toNormalizedRange() const().WTF::PassRefPtr<T>::get<WebCore::Range>()), (WebCore::EAffinity)1u, 0)))’ from ‘WebCore::VisibleSelection’ to ‘WTF::PassRefPtr<WebCore::Range>’

-- 
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