mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1153829 - Don't use MOZ_ALWAYS_INLINE for non-inline functions. r=jimm
This commit is contained in:
parent
09194eb6ec
commit
eec0326676
@ -371,12 +371,6 @@ ModifierKeyState::IsScrollLocked() const
|
||||
return (mModifiers & MODIFIER_SCROLLLOCK) != 0;
|
||||
}
|
||||
|
||||
Modifiers
|
||||
ModifierKeyState::GetModifiers() const
|
||||
{
|
||||
return mModifiers;
|
||||
}
|
||||
|
||||
void
|
||||
ModifierKeyState::EnsureAltGr()
|
||||
{
|
||||
|
@ -62,24 +62,27 @@ public:
|
||||
ModifierKeyState(bool aIsShiftDown, bool aIsControlDown, bool aIsAltDown);
|
||||
ModifierKeyState(Modifiers aModifiers);
|
||||
|
||||
MOZ_ALWAYS_INLINE void Update();
|
||||
void Update();
|
||||
|
||||
MOZ_ALWAYS_INLINE void Unset(Modifiers aRemovingModifiers);
|
||||
void Unset(Modifiers aRemovingModifiers);
|
||||
void Set(Modifiers aAddingModifiers);
|
||||
|
||||
void InitInputEvent(WidgetInputEvent& aInputEvent) const;
|
||||
|
||||
bool IsShift() const;
|
||||
bool IsControl() const;
|
||||
MOZ_ALWAYS_INLINE bool IsAlt() const;
|
||||
MOZ_ALWAYS_INLINE bool IsAltGr() const;
|
||||
MOZ_ALWAYS_INLINE bool IsWin() const;
|
||||
bool IsAlt() const;
|
||||
bool IsAltGr() const;
|
||||
bool IsWin() const;
|
||||
|
||||
MOZ_ALWAYS_INLINE bool IsCapsLocked() const;
|
||||
MOZ_ALWAYS_INLINE bool IsNumLocked() const;
|
||||
MOZ_ALWAYS_INLINE bool IsScrollLocked() const;
|
||||
bool IsCapsLocked() const;
|
||||
bool IsNumLocked() const;
|
||||
bool IsScrollLocked() const;
|
||||
|
||||
MOZ_ALWAYS_INLINE Modifiers GetModifiers() const;
|
||||
MOZ_ALWAYS_INLINE Modifiers GetModifiers() const
|
||||
{
|
||||
return mModifiers;
|
||||
}
|
||||
|
||||
private:
|
||||
Modifiers mModifiers;
|
||||
|
Loading…
Reference in New Issue
Block a user