Closed Bug 701666 Opened 13 years ago Closed 13 years ago

Removing TxObject define and Double typedef from xslt

Categories

(Core :: XSLT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: Ms2ger, Assigned: atulagrwl)

Details

(Whiteboard: [good first bug][mentor=Ms2ger])

Attachments

(1 file, 1 obsolete file)

content/xslt/src/base/txCore.h has '#define TxObject txObject'. It would be better if code used the latter form instead.

See

http://mxr.mozilla.org/mozilla-central/ident?i=TxObject&tree=mozilla-central&filter=&strict=1
Attached patch Patch v1 (obsolete) — Splinter Review
Removing the TxObject define as well removing the Double typedef. Patch is somewhat long but it requires only a glance.
Assignee: nobody → atulagrwl
Attachment #575408 - Flags: review?(Ms2ger)
Comment on attachment 575408 [details] [diff] [review]
Patch v1

>--- a/content/xslt/src/xslt/txNodeSorter.h
>+++ b/content/xslt/src/xslt/txNodeSorter.h
>-    static bool calcSortValue(TxObject*& aSortValue, SortKey* aKey,
>+    static bool calcSortValue(txObject*& aSortValue, SortKey* aKey,
>                                 SortData* aSortData, PRUint32 aNodeIndex);

Reindent the next line while you're here.

Looks good to me, but I'd like Jonas' sign-off.
Attachment #575408 - Flags: review?(jonas)
Attachment #575408 - Flags: review?(Ms2ger)
Attachment #575408 - Flags: review+
Summary: Remove TxObject define → Removing TxObject define and Double typedef from xslt
Attached patch Patch v1.01Splinter Review
Change suggested by Ms2ger. (I did the change using sed and hence missed it :))
Attachment #575408 - Attachment is obsolete: true
Attachment #575408 - Flags: review?(jonas)
Attachment #575442 - Flags: review?(jonas)
Comment on attachment 575442 [details] [diff] [review]
Patch v1.01

For patches like this, it's nice if you can attach the script (or list of commands) used to create the patch, in addition to the patch itself.

It's easier to review the script for correctness...

r=me though :)
Attachment #575442 - Flags: review?(jonas) → review+
Thanks Jonas for the review. I will take care of it from next time.
Keywords: checkin-needed
In my queue with a few other bits that are being sent to try first and then onto inbound :-)

https://tbpl.mozilla.org/?tree=Try&rev=eb96679e6888
Status: NEW → ASSIGNED
Keywords: checkin-needed
Bug 687511 included in that try run failed check-sync-dirs, so had to push again:

https://tbpl.mozilla.org/?tree=Try&rev=329bc2d383a3 
(this changeset is there, is just hidden due to the previous push to try)
https://hg.mozilla.org/integration/mozilla-inbound/rev/7bbdb6243033
Flags: in-testsuite-
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/7bbdb6243033
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: