Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
index 610227ab35a2a9f092bdf2faa18e215e39411359..89192b17bca6fd0d760829560ada776b153b7b9b 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h |
@@ -26,16 +26,16 @@ |
#ifndef PaintLayerCompositor_h |
#define PaintLayerCompositor_h |
+#include <memory> |
#include "core/CoreExport.h" |
+#include "core/dom/DocumentLifecycle.h" |
#include "core/layout/compositing/CompositingReasonFinder.h" |
#include "platform/graphics/GraphicsLayerClient.h" |
#include "wtf/HashMap.h" |
-#include <memory> |
namespace blink { |
class PaintLayer; |
-class DocumentLifecycle; |
class GraphicsLayer; |
class IntPoint; |
class JSONObject; |
@@ -77,7 +77,7 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient { |
explicit PaintLayerCompositor(LayoutView&); |
~PaintLayerCompositor() override; |
- void UpdateIfNeededRecursive(); |
+ void UpdateIfNeededRecursive(DocumentLifecycle::LifecycleState target_state); |
// Return true if this LayoutView is in "compositing mode" (i.e. has one or |
// more composited Layers) |
@@ -193,7 +193,8 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient { |
void AssertNoUnresolvedDirtyBits(); |
#endif |
- void UpdateIfNeededRecursiveInternal(); |
+ void UpdateIfNeededRecursiveInternal( |
+ DocumentLifecycle::LifecycleState target_state); |
// GraphicsLayerClient implementation |
bool NeedsRepaint(const GraphicsLayer&) const { return true; } |
@@ -207,7 +208,7 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient { |
bool IsTrackingRasterInvalidations() const override; |
void UpdateWithoutAcceleratedCompositing(CompositingUpdateType); |
- void UpdateIfNeeded(); |
+ void UpdateIfNeeded(DocumentLifecycle::LifecycleState target_state); |
void EnsureRootLayer(); |
void DestroyRootLayer(); |