Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index dd6d81c8600697c8b93816bf401129fc8ddd57ac..2c229b7e38933c2c56cdaf20657c4e59befac6ca 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -410,7 +410,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
, m_rootLayer(0) |
, m_rootGraphicsLayer(0) |
, m_rootTransformLayer(0) |
- , m_graphicsLayerFactory(adoptPtr(new GraphicsLayerFactoryChromium(this))) |
+ , m_graphicsLayerFactory(adoptPtr(new GraphicsLayerFactoryChromium())) |
, m_matchesHeuristicsForGpuRasterization(false) |
, m_recreatingGraphicsContext(false) |
, m_flingModifier(0) |
@@ -4228,12 +4228,6 @@ DeprecatedPaintLayerCompositor* WebViewImpl::compositor() const |
return page()->deprecatedLocalMainFrame()->document()->layoutView()->compositor(); |
} |
-void WebViewImpl::registerForAnimations(WebLayer* layer) |
-{ |
- if (m_layerTreeView) |
- m_layerTreeView->registerForAnimations(layer); |
-} |
- |
GraphicsLayer* WebViewImpl::rootGraphicsLayer() |
{ |
return m_rootGraphicsLayer; |
@@ -4277,7 +4271,7 @@ void WebViewImpl::initializeLayerTreeView() |
// make this assert necessary. We should make them not hit this code and then delete allowsBrokenNullLayerTreeView. |
ASSERT(m_layerTreeView || !m_client || m_client->allowsBrokenNullLayerTreeView()); |
- if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled() && Platform::current()->compositorSupport() && m_layerTreeView) { |
+ if (m_layerTreeView) { |
m_linkHighlightsTimeline = adoptPtr(Platform::current()->compositorSupport()->createAnimationTimeline()); |
attachCompositorAnimationTimeline(m_linkHighlightsTimeline.get()); |
} |