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

Unified Diff: cc/trees/threaded_channel.cc

Issue 2267263002: cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: renderer-caps: rebase Created 4 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/threaded_channel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/threaded_channel.cc
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc
index 113da6fd2cff501eb488b79915d8ffb0beeece53..652aa68dd8fe5076689104cab59b4ed79cf1d4e6 100644
--- a/cc/trees/threaded_channel.cc
+++ b/cc/trees/threaded_channel.cc
@@ -199,14 +199,6 @@ void ThreadedChannel::DidCompleteSwapBuffers() {
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(
@@ -243,13 +235,11 @@ void ThreadedChannel::RequestNewOutputSurface() {
impl().proxy_main_weak_ptr));
}
-void ThreadedChannel::DidInitializeOutputSurface(
- bool success,
- const RendererCapabilities& capabilities) {
+void ThreadedChannel::DidInitializeOutputSurface(bool success) {
DCHECK(IsImplThread());
MainThreadTaskRunner()->PostTask(
FROM_HERE, base::Bind(&ProxyMain::DidInitializeOutputSurface,
- impl().proxy_main_weak_ptr, success, capabilities));
+ impl().proxy_main_weak_ptr, success));
}
void ThreadedChannel::DidCompletePageScaleAnimation() {
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698