diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:04:10 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:04:10 -0400 |
commit | 9f6cb6874e537fd4f451e507b1832b94b04d9d97 (patch) | |
tree | 5f5203e49a079233c5959d5f5d433e412437832e /layout/base/RestyleManagerHandle.h | |
parent | 0d362ca50335d964a78dbba7e7d32574ee67899a (diff) | |
download | UXP-9f6cb6874e537fd4f451e507b1832b94b04d9d97.tar UXP-9f6cb6874e537fd4f451e507b1832b94b04d9d97.tar.gz UXP-9f6cb6874e537fd4f451e507b1832b94b04d9d97.tar.lz UXP-9f6cb6874e537fd4f451e507b1832b94b04d9d97.tar.xz UXP-9f6cb6874e537fd4f451e507b1832b94b04d9d97.zip |
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 #1375
Diffstat (limited to 'layout/base/RestyleManagerHandle.h')
-rw-r--r-- | layout/base/RestyleManagerHandle.h | 4 |
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, |