Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2509)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2559273003: Blink Compositor Animation: Introduce CompositorAnimationHost correctly. (Closed)
Patch Set: Add nullcheck for m_layerTreeView in WebViewImpl Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 66a0cfa7bd7eaba8db52d73f268d62a72507fae9..f9848f289d7a2eb12da4d01a8f2b5d0d7eda8360 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -72,6 +72,7 @@
namespace blink {
class BrowserControls;
+class CompositorAnimationHost;
class DevToolsEmulator;
class Frame;
class FullscreenController;
@@ -683,6 +684,8 @@ class WEB_EXPORT WebViewImpl final
RefPtr<UserGestureToken> m_pointerLockGestureToken;
WebLayerTreeView* m_layerTreeView;
+ std::unique_ptr<CompositorAnimationHost> m_compositorAnimationHost;
+
WebLayer* m_rootLayer;
GraphicsLayer* m_rootGraphicsLayer;
GraphicsLayer* m_visualViewportContainerLayer;

Powered by Google App Engine
This is Rietveld 408576698