Bug 1574852 - part 7: Get rid of `HTMLEditRules::ClearCachedStyles()` r=m_kato
authorMasayuki Nakano <masayuki@d-toybox.com>
Thu, 22 Aug 2019 06:03:52 +0000
changeset 489424 4c591d7635260c2d8bbc61f298d30680461e91a7
parent 489423 7cc701cc6957c84fda54d67e4653574d9db949bf
child 489425 085122dae6002e1d678884720b44f06eb920d5fb
push id93328
push usermasayuki@d-toybox.com
push dateThu, 22 Aug 2019 11:14:01 +0000
treeherderautoland@4c591d763526 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersm_kato
bugs1574852
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1574852 - part 7: Get rid of `HTMLEditRules::ClearCachedStyles()` r=m_kato It's declared, but not defined. Differential Revision: https://phabricator.services.mozilla.com/D42777
editor/libeditor/HTMLEditRules.h
--- a/editor/libeditor/HTMLEditRules.h
+++ b/editor/libeditor/HTMLEditRules.h
@@ -1104,18 +1104,16 @@ class HTMLEditRules : public TextEditRul
    * Finally, aListElement is removed. and its all children are moved to
    * where the aListElement was.
    *
    * @param aListElement        A <ul>, <ol> or <dl> element.
    */
   MOZ_CAN_RUN_SCRIPT
   MOZ_MUST_USE nsresult RemoveListStructure(Element& aListElement);
 
-  void ClearCachedStyles();
-
   /**
    * InsertBRElementToEmptyListItemsAndTableCellsInRange() inserts
    * <br> element into empty list item or table cell elements between
    * aStartRef and aEndRef.
    */
   MOZ_CAN_RUN_SCRIPT MOZ_MUST_USE nsresult
   InsertBRElementToEmptyListItemsAndTableCellsInRange(
       const RawRangeBoundary& aStartRef, const RawRangeBoundary& aEndRef);