Closed Bug 707395 Opened 13 years ago Closed 13 years ago

Remove deprecated PR_ABS/PR_MIN/PR_MAX uses from nsSHistory.cpp

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: sgautherie, Assigned: prip)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [mentor=jlebar][lang=c++])

Attachments

(1 file, 1 obsolete file)

Bug 683777 added these, after bug 518502 removed them from the tree :-/
Whiteboard: [good first bug]
Flags: in-testsuite-
Blocks: 707396
Whiteboard: [good first bug] → [mentor=jlebar]
Whiteboard: [mentor=jlebar] → [mentor=jlebar][lang=c++]
I replaced PR_ABS with NS_ABS. Should we do that?
Attachment #579692 - Flags: review?(justin.lebar+bug)
Blocks: 708277
Summary: Remove 3 deprecated PR_MIN/PR_MAX uses from nsSHistory.cpp → Remove deprecated PR_ABS/PR_MIN/PR_MAX uses from nsSHistory.cpp
> I replaced PR_ABS with NS_ABS. Should we do that?

Yep.  This looks great!

If you post a new patch with a checkin comment in the form of

  Bug XXX - Replace PR_MIN/PR_MAX/PR_ABS with NS_MIN/NS_MAX/NS_ABS

I'll check it in for you.
Attachment #579692 - Flags: review?(justin.lebar+bug) → review+
Attachment #579692 - Attachment is obsolete: true
Comment on attachment 579950 [details] [diff] [review]
Bug 707395 - Replace PR_MIN/PR_MAX/PR_ABS with NS_MIN/NS_MAX/NS_ABS

Thanks for your patch!

Pushed to mozilla-inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/a6c007e53973

I don't expect this to cause test failures, but you can keep an eye at https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=a6c007e53973

(By the way, it looks like this file had Windows line-endings.  In the future, please submit patches with Unix endings.  You can use the tool dos2unix to convert them.)
This has now made it's way to mozilla-central - thanks for the patch! :-)

If you're interested in working on more bugs and need some inspiration, pop onto #developers and say hi!

https://hg.mozilla.org/mozilla-central/rev/a6c007e53973
Assignee: nobody → thomas
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: