Closed Bug 855586 Opened 11 years ago Closed 11 years ago

Patch in bug 824642 has wrong logic

Categories

(Core :: Graphics: Layers, defect)

ARM
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file)

Sounds like I managed to make mistake in patch 
https://bugzilla.mozilla.org/attachment.cgi?id=703782&action=edit

+  return mOffscreenFormat != gfxASurface::ImageFormatUnknown ?
+    gfxPlatform::GetPlatform()->GetOffscreenFormat() :
+    mOffscreenFormat;

should be ==, so we use platform format when mOffscreenFormat is unknown (not set)
hrm...
Assignee: nobody → romaxa
Status: NEW → ASSIGNED
Attachment #730502 - Flags: review?(joe)
Comment on attachment 730502 [details] [diff] [review]
make offscreen format correction correct

Joe is on PTO for a couple of weeks, let's see if we can take care of this sooner and have it get in before 22 goes to Aurora.
Attachment #730502 - Flags: review?(nical.bugzilla)
Attachment #730502 - Flags: review?(joe)
Attachment #730502 - Flags: review?(jmuizelaar)
Attachment #730502 - Flags: feedback+
Comment on attachment 730502 [details] [diff] [review]
make offscreen format correction correct

Review of attachment 730502 [details] [diff] [review]:
-----------------------------------------------------------------

I think this patch is straight-forward and simple enough that it doesn't need Jeff's review (which would mean wait until Monday) to complement mine + Milan's feedback+
You should land it now.
Attachment #730502 - Flags: review?(nical.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/d61461019eba
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment on attachment 730502 [details] [diff] [review]
make offscreen format correction correct

Review of attachment 730502 [details] [diff] [review]:
-----------------------------------------------------------------

just to be thorough
Attachment #730502 - Flags: review?(jmuizelaar) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: