Closed
Bug 609427
Opened 14 years ago
Closed 14 years ago
extra ";" after NS_DECL_ISUPPORTS in nsContentPermissionHelper.h
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)
Details
Attachments
(1 file)
865 bytes,
patch
|
dougt
:
review+
dougt
:
approval2.0+
|
Details | Diff | Splinter Review |
Caused a compile error with Solaris Studio.
"../../../dom/base/nsContentPermissionHelper.h", line 80: Error: "}" expected instead of ";".
"../../../dom/base/nsContentPermissionHelper.h", line 81: Error: "virtual" is not allowed here.
"../../../dom/base/nsContentPermissionHelper.h", line 81: Error: "virtual" is not allowed here.
"../../../dom/base/nsContentPermissionHelper.h", line 81: Error: "virtual" is not allowed here.
"../../../dom/base/nsContentPermissionHelper.h", line 81: Error: "virtual" is not allowed here.
"../../../dom/base/nsContentPermissionHelper.h", line 81: Error: "virtual" is not allowed here.
"../../../dom/base/nsContentPermissionHelper.h", line 81: Error: "virtual" is not allowed here.
"../../../dom/base/nsContentPermissionHelper.h", line 83: Error: A declaration was expected instead of "private".
"../../../dom/base/nsContentPermissionHelper.h", line 87: Error: A declaration was expected instead of "}".
....
Searched mozilla code base, we have extra ";" at these places.
http://mxr.mozilla.org/mozilla-central/search?string=%5E≈%5B+%5D*NS_DECL_.*%3B®exp=1&find=&findi=&filter=%5E%5B%5E%5C0%5D*%24&hitlimit=&tree=mozilla-central
The extra ";" behind NS_DECL_NSICONTENTPERMISSIONREQUEST is ignorable by Solaris Studio.
But "NS_DECL_ISUPPORTS;" doesn't work.
Comment 2•14 years ago
|
||
Comment on attachment 488056 [details] [diff] [review]
patch
low risk.
Thank you Ginn.
Attachment #488056 -
Flags: review?(doug.turner)
Attachment #488056 -
Flags: review+
Attachment #488056 -
Flags: approval2.0+
Updated•14 years ago
|
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•