Closed Bug 778501 Opened 12 years ago Closed 12 years ago

Clean up nsPresContext

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: dzbarsky, Assigned: dzbarsky)

Details

Attachments

(4 files, 1 obsolete file)

      No description provided.
Attachment #646929 - Flags: review?(roc)
Attachment #646930 - Flags: review?(roc)
Attached patch Part 3: Clean up includes (obsolete) — Splinter Review
Attachment #646932 - Flags: review?(roc)
Attachment #646932 - Attachment is obsolete: true
Attachment #646932 - Flags: review?(roc)
Attachment #646933 - Flags: review?(roc)
Comment on attachment 646933 [details] [diff] [review]
Part 3: Clean up includes

Review of attachment 646933 [details] [diff] [review]:
-----------------------------------------------------------------

r+ with that

::: layout/base/nsPresContext.cpp
@@ +1547,5 @@
> +#ifdef _IMPL_NS_LAYOUT
> +  return BidiEnabledInternal();
> +#else
> +  return BidiEnabledExternal();
> +#endif

_IMPL_NS_LAYOUT is always defined in this file, so this defeats the whole point of BidiEnabledExternal. I think you should keep BidiEnabled as it was, inline in nsPresContext.h.
Attachment #646933 - Flags: review?(roc) → review+
Attachment #647039 - Flags: review?(roc)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: