Index: cc/trees/proxy_main.h |
diff --git a/cc/trees/proxy_main.h b/cc/trees/proxy_main.h |
index 3d97276193aa75690a6e8c6d0c2c5a60e9b1d57d..4ff01a7c4e2dfad5675c53b2b869381854575cad 100644 |
--- a/cc/trees/proxy_main.h |
+++ b/cc/trees/proxy_main.h |
@@ -61,6 +61,10 @@ class CC_EXPORT ProxyMain : public Proxy { |
return final_pipeline_stage_; |
} |
+ BeginFrameArgs BeginFrameArgsForTesting() { |
+ return begin_frame_args_for_testing_; |
+ } |
+ |
private: |
// Proxy implementation. |
bool IsStarted() const override; |
@@ -129,6 +133,8 @@ class CC_EXPORT ProxyMain : public Proxy { |
// run before we destroy it on the impl thread. |
std::unique_ptr<ProxyImpl> proxy_impl_; |
+ BeginFrameArgs begin_frame_args_for_testing_; |
brianderson
2017/04/13 22:36:37
Can you store this in LayerTreeTest from an overri
panicker
2017/04/14 22:02:45
Can you elaborate on what you mean exactly:
- Stor
panicker
2017/04/17 21:54:50
Addressed
|
+ |
base::WeakPtrFactory<ProxyMain> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(ProxyMain); |