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 92b3d55c16
commit 93e94a2f95

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