[Webkit-unassigned] [Bug 172021] New: Cleanup: Make JSGlobalObject::queueTaskToEventLoop() take a non-const JSGlobalObject*

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 11 22:31:58 PDT 2017


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

            Bug ID: 172021
           Summary: Cleanup: Make JSGlobalObject::queueTaskToEventLoop()
                    take a non-const JSGlobalObject*
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: darin at apple.com, sam at webkit.org

Currently JSGlobalObject::queueTaskToEventLoop() takes a const JSGlobalObject* whose constness is removed in the implementation of this method in all derived classes. We should have JSGlobalObject::queueTaskToEventLoop() take a non-const JSGlobalObject* and remove the need to effectively const_cast<> it. This will also make the data types of the arguments to JSGlobalObject::queueTaskToEventLoop() match the data types for the same arguments passed to the analogous VM::queueMicrotask().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170512/46c2f28e/attachment.html>


More information about the webkit-unassigned mailing list