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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 478703002: Remove cc::LayerTreeHostImpl::IsContextLost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ctx4
Patch Set: Fix style: bracing, no (void) Created 6 years, 4 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/layer_tree_host_unittest_delegated.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index 685b11a8bd61bc0c71ff12cc984c69942bf3968d..14461f75a7a48f303bb4fd66dd97e3df43bdf4a0 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -102,6 +102,7 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
bool DoComposite(base::TimeTicks frame_begin_time,
LayerTreeHostImpl::FrameData* frame);
void DidSwapFrame();
+ void DidLoseOutputSurface();
bool ShouldComposite() const;
void UpdateBackgroundAnimateTicking();
@@ -119,6 +120,8 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
bool inside_draw_;
+ base::WeakPtrFactory<SingleThreadProxy> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SingleThreadProxy);
};
« no previous file with comments | « cc/trees/layer_tree_host_unittest_delegated.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698