Bug 1230552 - Const-correctness improvements. r=kats

This commit is contained in:
Botond Ballo 2015-12-11 17:42:50 -05:00
parent 1796dbd9db
commit 264d5e07bd
2 changed files with 6 additions and 6 deletions

View File

@ -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();
}

View File

@ -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:
/* ===================================================================