Closed Bug 565393 Opened 16 years ago Closed 16 years ago

useless initialization of src in WebGLContext::DOMElementToImageSurface

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

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) {
Blocks: 513156
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #444932 - Flags: review?(vladimir)
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: