Bug 1405359 - Make ScrollingLayersHelper a more stateful class. r=jrmuizel

This makes ScrollingLayersHelper a non-RAII type class, and instead adds
methods to notify it of when we start processing a new transaction or a
new display item within the transaction. This patch has no functional
changes, it's non-obvious refactoring.

MozReview-Commit-ID: 3yq9sPiHMge
This commit is contained in:
Kartikaya Gupta
2017-10-24 16:15:00 -04:00
parent 91f985dbe0
commit 1fe4d6f665
5 changed files with 83 additions and 47 deletions

View File

@@ -12,7 +12,6 @@
#include "mozilla/gfx/DrawEventRecorder.h"
#include "mozilla/layers/CompositorBridgeChild.h"
#include "mozilla/layers/IpcResourceUpdateQueue.h"
#include "mozilla/layers/ScrollingLayersHelper.h"
#include "mozilla/layers/StackingContextHelper.h"
#include "mozilla/layers/TextureClient.h"
#include "mozilla/layers/WebRenderBridgeChild.h"