Bug 1129210. Always enable vsync when touch events occur. r=kats

This commit is contained in:
Mason Chang 2015-02-04 22:10:56 -08:00
parent 7cff2adf2a
commit 60c719a5b5

View File

@ -153,7 +153,7 @@ GeckoTouchDispatcher::NotifyVsync(TimeStamp aVsyncTimestamp)
void
GeckoTouchDispatcher::NotifyTouch(MultiTouchInput& aTouch, TimeStamp aEventTime)
{
if (aTouch.mType == MultiTouchInput::MULTITOUCH_START && mCompositorVsyncObserver) {
if (mCompositorVsyncObserver) {
mCompositorVsyncObserver->SetNeedsComposite(true);
}