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
Родитель 96d150e2cb
Коммит 7176fed30e
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

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