[Webkit-unassigned] [Bug 112547] New: [BlackBerry] BackingStoreClient: remove unnecessary call to toElement()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 18 02:56:33 PDT 2013


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

           Summary: [BlackBerry] BackingStoreClient: remove unnecessary
                    call to toElement()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: agarcia at igalia.com
                CC: xan.lopez at gmail.com, cgarcia at igalia.com


frame->ownerElement() already returns an Element*, so the toElement()
call is unnecessary and breaks the build because of this code in
Element.h:

  // This will catch anyone doing an unnecessary cast.
  void toElement(const Element*);

This changed in r145818:

http://trac.webkit.org/changeset/145818/trunk/Source/WebKit/blackberry/WebKitSupport/BackingStoreClient.cpp

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