[Webkit-unassigned] [Bug 33709] New: Cleanup: Typedef DragOperation as type int

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 15 02:20:47 PST 2010


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

           Summary: Cleanup: Typedef DragOperation as type int
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dbates at webkit.org
                CC: eric at webkit.org, oliver at apple.com, aroben at apple.com,
                    bweinstein at apple.com


Following up on a remark brought up by Eric Seidel
<https://bugs.webkit.org/show_bug.cgi?id=24731#c25>, we should typedef
DragOperation as type int since it is also used to compose bitwise masks of
multiple drag operations.

Use of DragOperation as a bitwise mask appears in:

Clipboard.cpp:

<http://trac.webkit.org/browser/trunk/WebCore/dom/Clipboard.cpp?rev=53301#L71>
<http://trac.webkit.org/browser/trunk/WebCore/dom/Clipboard.cpp?rev=53301#L73>
<http://trac.webkit.org/browser/trunk/WebCore/dom/Clipboard.cpp?rev=53301#L75>
<http://trac.webkit.org/browser/trunk/WebCore/dom/Clipboard.cpp?rev=53301#L83>

DragController.cpp:

<http://trac.webkit.org/browser/trunk/WebCore/page/DragController.cpp?rev=53296#L639>

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