Remove PR_TRUE/PR_FALSE from widget/src/windows

RESOLVED FIXED in mozilla10

Status

()

Core
Widget: Win32
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: masayuki, Assigned: masayuki)

Tracking

Trunk
mozilla10
All
Windows 7
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

Created attachment 563665 [details] [diff] [review]
Patch

https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&rev=b7c0e8d396d7
The patch is automatically generated by my editor.
I used ([ ,({])PR_TRUE([ ,);}\n]) for matching PR_TRUE. And same for PR_FALSE.
Nakano-san, Could you fix nsWindow::OnPaint() (nsWindowGfx.cpp) too?  This function returns bool type, but it offen uses NS_ERROR_FAILURE for error.
I think that it should have another bug#.
Attachment #563665 - Flags: review?(jmathies)

Updated

6 years ago
Attachment #563665 - Flags: review?(jmathies) → review+
Nobody landed patches in m-c directly, therefore, I landed the patch in m-i.

https://hg.mozilla.org/integration/mozilla-inbound/rev/0c481048e522
Flags: in-testsuite-
Whiteboard: [inbound]
https://hg.mozilla.org/mozilla-central/rev/0c481048e522

Please stop doing PR_TRUE/PR_FALSE convertions till the PRBool regression is figured out (see the topic in mozilla.dev.planning)
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.