Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.

Follow-up to fdbac095968bc952fec6a03765a7156940ae4733
This commit is contained in:
wolfbeast 2018-11-02 10:47:05 +01:00 • committed by Roy Tam
commit bf30898e2c
2 changed files with 12 additions and 2 deletions

View file

@ -638,6 +638,9 @@ protected:
bool HasBgAttachmentLocal() const;
uint8_t GetScrolledFrameDir() const;
// Removes any RefreshDriver observers we might have registered.
void RemoveObservers();
static void EnsureFrameVisPrefsCached();
static bool sFrameVisPrefsCached;
// The number of scrollports wide/high to expand when tracking frame visibility.