Closed Bug 1600451 Opened 5 years ago Closed 5 years ago

Port bug 1600362 - add namespace to Element class

Categories

(MailNews Core :: General, defect)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 72.0

People

(Reporter: aceman, Assigned: aceman)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

On trunk we get compile errors like mailnews/base/src/nsMsgContentPolicy.cpp:715:16: error: unknown type name 'Element' .
It seems after m-c bug 1600362 Element class is now namespaced in mozilla::dom. I'll add that.

Regressed by: 1600362

It was namespaced before, fwiw, but there was some using directive in the top level which effectively wallpapered those errors. But yeah, adding the namespace is the right thing to do.

Attached patch 1600451.patchSplinter Review

Yes, we only have a few occurrences of Element and some files use using namespace mozilla::dom. Some don't so I add the explicit namespace there as other classes already use.

Try run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8f36966d8f4093abaea57c749427979dbe931929

Attachment #9112702 - Flags: review?(kaie)
Attachment #9112702 - Flags: review?(kaie) → review+

Can you turn the second dash in the commit message into a colon.

Pushed by acelists@atlas.sk:
https://hg.mozilla.org/comm-central/rev/5f1b51ad26ef
Port bug 1600362: add namespace to Element class. r=KaiE

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

(In reply to Jorg K (GMT+1) (PTO to 15th Dec 2019, sporadically reading bugmail) from comment #3)

Can you turn the second dash in the commit message into a colon.

Thanks, done.

Target Milestone: --- → Thunderbird 72.0
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/fe7a42d2ace3
Follow-up: Reformat. rs=reformat
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: