summaryrefslogtreecommitdiff
path: root/layout/base/RestyleManagerHandle.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 05:04:10 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 05:04:10 -0400
commit2a1b8a055365639d4cb0a7447a7dc507b7f1b922 (patch)
tree5f5203e49a079233c5959d5f5d433e412437832e /layout/base/RestyleManagerHandle.h
parentb536b96829b9bea4756880a204de40e405ce2de2 (diff)
downloadaura-central-2a1b8a055365639d4cb0a7447a7dc507b7f1b922.tar.gz
Bug 1296516 - Cleanup a bit of code in layout/base
* Tidy RestyleManager::ContentStateChanged * Convert UndisplayedMap to a typed hashtable * Cleanup infallible or unchecked nsCSSFrameConstructor methods Tag mcp-graveyard/UXP%1375
Diffstat (limited to 'layout/base/RestyleManagerHandle.h')
-rw-r--r--layout/base/RestyleManagerHandle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout/base/RestyleManagerHandle.h b/layout/base/RestyleManagerHandle.h
index 8be04d12c..bee1fc6d9 100644
--- a/layout/base/RestyleManagerHandle.h
+++ b/layout/base/RestyleManagerHandle.h
@@ -125,8 +125,8 @@ public:
nsIContent* aChild);
inline void RestyleForAppend(nsIContent* aContainer,
nsIContent* aFirstNewContent);
- inline nsresult ContentStateChanged(nsIContent* aContent,
- EventStates aStateMask);
+ inline void ContentStateChanged(nsIContent* aContent,
+ EventStates aStateMask);
inline void AttributeWillChange(dom::Element* aElement,
int32_t aNameSpaceID,
nsIAtom* aAttribute,