Closed
Bug 565393
Opened 16 years ago
Closed 16 years ago
useless initialization of src in WebGLContext::DOMElementToImageSurface
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
References
(Blocks 1 open bug)
Details
(Keywords: coverity)
Attachments
(1 file)
|
940 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
1933 WebGLContext::DOMElementToImageSurface(nsIDOMElement *imageOrCanvas,
1961 if (surf->Format() == gfxASurface::ImageFormatARGB32) {
1962 PRUint8* src = surf->Data();
1967 for (int j = 0; j < height; j++) {
1968 src = surf->Data() + j * surf->Stride();
1993 }
1994 }
1995 } else if (surf->Format() == gfxASurface::ImageFormatRGB24) {
Attachment #444932 -
Flags: review?(vladimir) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Blocks: coverity-analysis
You need to log in
before you can comment on or make changes to this bug.
Description
•