author Masayuki Nakano <>
Tue, 20 Jun 2017 22:57:08 +0900
changeset 416646 621ec6b67f20406ab14fad047386ada44a44b39a
parent 362059 95bf06da8e8d9b9163d7b376a630112ec2eab823
permissions -rw-r--r--
Bug 1374207 - part1: nsTextEditorState should use mozilla::TextEditor instead of editor interfaces r=smaug Using concrete class rather than interface classes (nsI*Editor) will allow to reduce QI and some virtual calls. Therefore, Editor classes should be used as concrete class as far as possible. Unfortunately, if classes referring editor are initialized via scriptable interface, we cannot do this because nsI*Editor is still not marked as builtinclass. Therefore, their editor may be implemented by JS. E.g., inline nsIInlineSpellChecker.init() and nsIDocShell.editor. Such remaining cases should be fixed after nsI*Editor classes are marked as builtinclass. Note that this patch also creates nsIdentifierMapEntry.h which is separated from nsDocument.h because ShadowRoot.h needs the class but exposing nsDocument.h to the global and includes it causes bustage on Linux and Android. Therefore, for fixing the include hell, this patch touches them and ContentChild.cpp. MozReview-Commit-ID: i6fLWw6Qeo

# tzdata resources in icudt*.dat