mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1230552 - Const-correctness improvements. r=kats
This commit is contained in:
parent
1796dbd9db
commit
264d5e07bd
@ -3433,13 +3433,13 @@ void AsyncPanZoomController::ZoomToRect(CSSRect aRect) {
|
||||
}
|
||||
|
||||
TouchBlockState*
|
||||
AsyncPanZoomController::CurrentTouchBlock()
|
||||
AsyncPanZoomController::CurrentTouchBlock() const
|
||||
{
|
||||
return GetInputQueue()->CurrentTouchBlock();
|
||||
}
|
||||
|
||||
PanGestureBlockState*
|
||||
AsyncPanZoomController::CurrentPanGestureBlock()
|
||||
AsyncPanZoomController::CurrentPanGestureBlock() const
|
||||
{
|
||||
return GetInputQueue()->CurrentPanGestureBlock();
|
||||
}
|
||||
@ -3464,7 +3464,7 @@ AsyncPanZoomController::CancelAnimationAndGestureState()
|
||||
}
|
||||
|
||||
bool
|
||||
AsyncPanZoomController::HasReadyTouchBlock()
|
||||
AsyncPanZoomController::HasReadyTouchBlock() const
|
||||
{
|
||||
return GetInputQueue()->HasReadyTouchBlock();
|
||||
}
|
||||
|
@ -824,10 +824,10 @@ private:
|
||||
void CancelAnimationAndGestureState();
|
||||
|
||||
RefPtr<InputQueue> mInputQueue;
|
||||
TouchBlockState* CurrentTouchBlock();
|
||||
bool HasReadyTouchBlock();
|
||||
TouchBlockState* CurrentTouchBlock() const;
|
||||
bool HasReadyTouchBlock() const;
|
||||
|
||||
PanGestureBlockState* CurrentPanGestureBlock();
|
||||
PanGestureBlockState* CurrentPanGestureBlock() const;
|
||||
|
||||
private:
|
||||
/* ===================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user