зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1153829 - Don't use MOZ_ALWAYS_INLINE for non-inline functions. r=jimm
This commit is contained in:
Родитель
09194eb6ec
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче