зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1137151: Marked destructor of |GeckoTouchDispatcher| as protected, r=mwu
This commit is contained in:
Родитель
96d150e2cb
Коммит
7176fed30e
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче