[Webkit-unassigned] [Bug 54920] New: [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 21 17:47:57 PST 2011


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

           Summary: [chromium] WebWorkerBase::openFileSystem confuses
                    clang's -Woverloaded-virtual
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: thakis at chromium.org
                CC: kinuko at chromium.org


There are multiple issues here.

1.) WebWorkerBase::openFileSystem() has a comment that points out that this method is not an implementation of the superclass's WebFrameClient::openFileSystem(). Instead of the comment, the method should have a different name, to make this obvious. I propose openFileSystemForWorker().

2.) WebWorkerClientImpl::openFileSystem() tries to override one of these 2 methods, but fails, since the signature matches neither. I think it tries to override the 1st (i.e. the soon-to-be openFileSystemForWorker)

3.) WebCommonWorkerClient has an old implementation of openFileSystemForWorker() that's missing the |create| parameter with a comment that this needs to go away once it's no longer used by chrome (left-over from a 2-sided patch).

kinuko, does this sound about right?

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