Closed Bug 723942 Opened 12 years ago Closed 12 years ago

ImageLayerD3D*.cpp does not compile on mingw

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: jacek, Assigned: jacek)

Details

Attachments

(1 file)

Attached patch fix v1.0Splinter Review
GCC doesn't like initializing nsAutoPtr by assignment operator (as it's not the usual assignment). The attached patch changes initialization to use a regular constructor.
Attachment #594183 - Flags: review?
Attachment #594183 - Flags: review? → review?(bas.schouten)
Comment on attachment 594183 [details] [diff] [review]
fix v1.0

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

I prefer the assignment format from a stylistic perspective but if this makes gcc happy!
Attachment #594183 - Flags: review?(bas.schouten) → review+
https://hg.mozilla.org/mozilla-central/rev/deefae783b97
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: