[Webkit-unassigned] [Bug 45394] New: Canvas: Remove unnecessary null-check of canvas() in getImageData()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 8 08:53:03 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45394
Summary: Canvas: Remove unnecessary null-check of canvas() in
getImageData()
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: andreas.kling at nokia.com
We do...
ImageBuffer* buffer = canvas() ? canvas()->buffer() : 0;
...but canvas() is already dereferenced earlier in the function so there is no use in checking it for null here.
--
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