Closed
Bug 919729
Opened 12 years ago
Closed 12 years ago
Remove MOZILLA_INTERNAL_API checks from nsIFrame.h, aside from the #error at the top
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: dholbert, Assigned: poiru)
References
Details
Attachments
(1 file, 1 obsolete file)
3.11 KB,
patch
|
poiru
:
review+
|
Details | Diff | Splinter Review |
nsIFrame currently has:
> 12 #ifndef MOZILLA_INTERNAL_API
> 13 #error This header/class should only be used within Mozilla code. It should not be used by extensions.
> 14 #endif
[...]
> 809 #ifdef MOZILLA_INTERNAL_API
> 810 /** Also forward GetVisitedDependentColor to the style context */
> 811 nscolor GetVisitedDependentColor(nsCSSProperty aProperty)
> 812 { return mStyleContext->GetVisitedDependentColor(aProperty); }
> 813 #endif
and several other similar #ifdefs.
All of those checks beyond the first are superfluous (I think?) ever since the #error was added on line 13. Those checks (and their code for when the symbol isn't defined) should probably be removed.
Assignee | ||
Comment 1•12 years ago
|
||
Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=dd2d17baaa00
![]() |
||
Comment 2•12 years ago
|
||
Comment on attachment 809334 [details] [diff] [review]
Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h
r=me
Attachment #809334 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #809334 -
Attachment is obsolete: true
Attachment #809640 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Comment 4•12 years ago
|
||
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•