Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent
This commit is contained in:
@@ -440,9 +440,13 @@ private:
|
||||
Tick(vsyncJsNow, aTimeStamp);
|
||||
}
|
||||
|
||||
nsRefPtr<RefreshTimerVsyncDispatcher> mVsyncDispatcher;
|
||||
nsRefPtr<RefreshDriverVsyncObserver> mVsyncObserver;
|
||||
VsyncChild* mVsyncChild;
|
||||
// Used for parent process.
|
||||
nsRefPtr<RefreshTimerVsyncDispatcher> mVsyncDispatcher;
|
||||
// Used for child process.
|
||||
// The mVsyncChild will be always available before VsncChild::ActorDestroy().
|
||||
// After ActorDestroy(), StartTimer() and StopTimer() calls will be non-op.
|
||||
nsRefPtr<VsyncChild> mVsyncChild;
|
||||
}; // VsyncRefreshDriverTimer
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user