Bug 1137151: Marked destructor of |GeckoTouchDispatcher| as protected, r=mwu

This commit is contained in:
Thomas Zimmermann 2015-03-10 13:44:02 +01:00
parent 61f73aa096
commit 834d40197a

View File

@ -41,7 +41,7 @@ class CompositorVsyncObserver;
// this sample time, we extrapolate the last two touch events to the sample
// time. The magic numbers defined as constants are taken from android
// InputTransport.cpp.
class GeckoTouchDispatcher
class GeckoTouchDispatcher MOZ_FINAL
{
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(GeckoTouchDispatcher)
@ -54,6 +54,9 @@ public:
void NotifyVsync(TimeStamp aVsyncTimestamp);
void SetCompositorVsyncObserver(layers::CompositorVsyncObserver* aObserver);
protected:
~GeckoTouchDispatcher() {}
private:
GeckoTouchDispatcher();
void ResampleTouchMoves(MultiTouchInput& aOutTouch, TimeStamp vsyncTime);