Index: cc/trees/threaded_channel.cc |
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc |
index 652aa68dd8fe5076689104cab59b4ed79cf1d4e6..113da6fd2cff501eb488b79915d8ffb0beeece53 100644 |
--- a/cc/trees/threaded_channel.cc |
+++ b/cc/trees/threaded_channel.cc |
@@ -199,6 +199,14 @@ |
impl().proxy_main_weak_ptr)); |
} |
+void ThreadedChannel::SetRendererCapabilitiesMainCopy( |
+ const RendererCapabilities& capabilities) { |
+ DCHECK(IsImplThread()); |
+ MainThreadTaskRunner()->PostTask( |
+ FROM_HERE, base::Bind(&ProxyMain::SetRendererCapabilities, |
+ impl().proxy_main_weak_ptr, capabilities)); |
+} |
+ |
void ThreadedChannel::BeginMainFrameNotExpectedSoon() { |
DCHECK(IsImplThread()); |
MainThreadTaskRunner()->PostTask( |
@@ -235,11 +243,13 @@ |
impl().proxy_main_weak_ptr)); |
} |
-void ThreadedChannel::DidInitializeOutputSurface(bool success) { |
+void ThreadedChannel::DidInitializeOutputSurface( |
+ bool success, |
+ const RendererCapabilities& capabilities) { |
DCHECK(IsImplThread()); |
MainThreadTaskRunner()->PostTask( |
FROM_HERE, base::Bind(&ProxyMain::DidInitializeOutputSurface, |
- impl().proxy_main_weak_ptr, success)); |
+ impl().proxy_main_weak_ptr, success, capabilities)); |
} |
void ThreadedChannel::DidCompletePageScaleAnimation() { |