Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index a69995d7d3a426ca11657f123a8234d91eab26c1..51746fdaea87adc7ab73c191d81d6069f7d24de6 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -37,7 +37,6 @@ |
#include "platform/geometry/IntPoint.h" |
#include "platform/geometry/IntRect.h" |
#include "platform/graphics/GraphicsLayer.h" |
-#include "platform/graphics/compositing/PaintArtifactCompositor.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/WebDisplayMode.h" |
#include "public/platform/WebFloatSize.h" |
@@ -500,17 +499,6 @@ public: |
FloatSize elasticOverscroll() const { return m_elasticOverscroll; } |
- // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree |
- // view. |
- void attachPaintArtifactCompositor(); |
- |
- // Detaches the PaintArtifactCompositor and clears the layer tree view's |
- // root layer. |
- void detachPaintArtifactCompositor(); |
- |
- // Use in Slimming Paint v2 to update the layer tree for the content. |
- PaintArtifactCompositor& getPaintArtifactCompositor() { return m_paintArtifactCompositor; } |
- |
bool isTransparent() const; |
void setIsTransparent(bool value); |
@@ -620,6 +608,7 @@ private: |
float deviceScaleFactor() const; |
void setRootGraphicsLayer(GraphicsLayer*); |
+ void setRootLayer(WebLayer*); |
void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
@@ -762,9 +751,6 @@ private: |
const std::unique_ptr<WebViewScheduler> m_scheduler; |
- // Manages the layer tree created for this page in Slimming Paint v2. |
- PaintArtifactCompositor m_paintArtifactCompositor; |
- |
double m_lastFrameTimeMonotonic; |
// TODO(lfg): This is used in order to disable compositor visibility while |