Closed Bug 782416 Opened 8 years ago Closed 8 years ago

[Azure] convert gfx::2d from NULL to nullptr

Categories

(Core :: Graphics, defect)

15 Branch
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: nrc, Assigned: joe)

References

Details

Attachments

(2 files)

No description provided.
Attached patch do itSplinter Review
Assignee: ncameron → joe
Attachment #651830 - Flags: review?(bas.schouten)
Comment on attachment 651830 [details] [diff] [review]
do it

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

::: gfx/2d/gfx2d.vcxproj
@@ +117,5 @@
>    </ItemGroup>
>    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
>    <ImportGroup Label="ExtensionTargets">
>    </ImportGroup>
> +</Project>

Not sure we need this change :) Saving the project in MSVC again might overwrite it!
Attachment #651830 - Flags: review?(bas.schouten) → review+
Target Milestone: --- → mozilla17
backed out because I am a moron who doesn't know how to test his code 
https://hg.mozilla.org/integration/mozilla-inbound/rev/6ce9bc206a7d
Target Milestone: mozilla17 → ---
Turns out that a bunch of 2d didn't support nullptr with only the previous patch. This patch fixes that.
Attachment #652174 - Flags: review?(ncameron)
Comment on attachment 652174 [details] [diff] [review]
put nullptr somewhere that works

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

looks good

::: gfx/2d/2D.h
@@ +5,5 @@
>  
>  #ifndef _MOZILLA_GFX_2D_H
>  #define _MOZILLA_GFX_2D_H
>  
> +#include "Types.h"

I don't think you need this include, but if you _want_ it, then it is fine
Attachment #652174 - Flags: review?(ncameron) → review+
I want it!
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.