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

Unified Diff: cc/trees/proxy_main.h

Issue 2757373002: Fixing flakiness of TextureLayerChangeInvisibleMailboxTest (Closed)
Patch Set: c Created 3 years, 8 months 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
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_main.h
diff --git a/cc/trees/proxy_main.h b/cc/trees/proxy_main.h
index 3d97276193aa75690a6e8c6d0c2c5a60e9b1d57d..9fb7823df770e8db1cf80d98843df56bf71cbdc6 100644
--- a/cc/trees/proxy_main.h
+++ b/cc/trees/proxy_main.h
@@ -129,6 +129,10 @@ class CC_EXPORT ProxyMain : public Proxy {
// run before we destroy it on the impl thread.
std::unique_ptr<ProxyImpl> proxy_impl_;
+ // WeakPtrs generated by this factory will be invalidated when
+ // CompositorFrameSink is released.
+ base::WeakPtrFactory<ProxyMain> frame_sink_bound_weak_factory_;
+
base::WeakPtrFactory<ProxyMain> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ProxyMain);
« no previous file with comments | « cc/trees/proxy_impl.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698