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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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/WebFrameWidgetImpl.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
index 38148a15914faee3c566e737ef234d69b8dcaa2a..efda4edcaf871f0be62df26441cd7b6d3689d8dc 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -47,6 +47,8 @@
#include "wtf/HashSet.h"
namespace blink {
+
+class CompositorAnimationHost;
class Frame;
class Element;
class InspectorOverlay;
@@ -218,6 +220,7 @@ class WebFrameWidgetImpl final
WebLayerTreeView* m_layerTreeView;
WebLayer* m_rootLayer;
GraphicsLayer* m_rootGraphicsLayer;
+ std::unique_ptr<CompositorAnimationHost> m_compositorAnimationHost;
jbroman 2016/12/13 16:38:32 Up to you, but if having a compositor animation ho
loyso (OOO) 2016/12/13 22:23:35 Yup. I was thinking about base::Oprional here. Wil
loyso (OOO) 2016/12/19 04:03:12 Since we want to replace it with a raw weak pointe
bool m_isAcceleratedCompositingActive;
bool m_layerTreeViewClosed;

Powered by Google App Engine
This is Rietveld 408576698