# HG changeset patch # User Emilio Cobos Alvarez # Date 1524567035 -7200 # Node ID 52a7abd4ee49faefa002c8ee5f9bf54e68957c63 # Parent 71197888141cdec24990719214a7d2ce76d7a014 Bug 1456435: Make UpdateStyleSheet less bool-happy. r=heycam Only missed variable removals. diff --git a/dom/base/nsStyleLinkElement.cpp b/dom/base/nsStyleLinkElement.cpp --- a/dom/base/nsStyleLinkElement.cpp +++ b/dom/base/nsStyleLinkElement.cpp @@ -196,17 +196,16 @@ nsStyleLinkElement::UpdateStyleSheet(nsI return DoUpdateStyleSheet(nullptr, nullptr, aObserver, aForceUpdate); } Result nsStyleLinkElement::UpdateStyleSheetInternal(nsIDocument* aOldDocument, ShadowRoot* aOldShadowRoot, ForceUpdate aForceUpdate) { - bool notify, alternate; return DoUpdateStyleSheet( aOldDocument, aOldShadowRoot, nullptr, aForceUpdate); } Result nsStyleLinkElement::DoUpdateStyleSheet(nsIDocument* aOldDocument, ShadowRoot* aOldShadowRoot, nsICSSLoaderObserver* aObserver,