Bug 1733876 Part 1 - Remove unused kNoFlags in nsPlainTextSerializer.cpp. r=mbrodesser
authorTing-Yu Lin <tlin@mozilla.com>
Thu, 07 Oct 2021 23:01:40 +0000
changeset 595146 5c7ea057db251426b6e348900cd10483eba8491c
parent 595145 6f77c033653ce267fbb339052a2f993596d12d6c
child 595147 dd3ea0d8556f44f1acecb061eaeaca980bd7d594
push id38858
push usermalexandru@mozilla.com
push dateFri, 08 Oct 2021 03:38:35 +0000
treeherdermozilla-central@92bfb5c41eb7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrodesser
bugs1733876
milestone95.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 1733876 Part 1 - Remove unused kNoFlags in nsPlainTextSerializer.cpp. r=mbrodesser Differential Revision: https://phabricator.services.mozilla.com/D127381
dom/serializers/nsPlainTextSerializer.cpp
--- a/dom/serializers/nsPlainTextSerializer.cpp
+++ b/dom/serializers/nsPlainTextSerializer.cpp
@@ -54,18 +54,16 @@ static const int32_t kIndentIncrementHea
    indent h(x+1) this many
    columns more than h(x) */
 static const int32_t kIndentSizeList = kTabSize;
 // Indention of non-first lines of ul and ol
 static const int32_t kIndentSizeDD = kTabSize;  // Indention of <dd>
 static const char16_t kNBSP = 160;
 static const char16_t kSPACE = ' ';
 
-constexpr int32_t kNoFlags = 0;
-
 static int32_t HeaderLevel(const nsAtom* aTag);
 static int32_t GetUnicharWidth(char16_t ucs);
 static int32_t GetUnicharStringWidth(const nsString& aString);
 
 // Someday may want to make this non-const:
 static const uint32_t TagStackSize = 500;
 
 NS_IMPL_CYCLE_COLLECTING_ADDREF(nsPlainTextSerializer)