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

Unified Diff: cc/trees/thread_proxy.cc

Issue 1341423006: Removing GL context rate limiting feature and related wrappers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed mojo autogens Created 5 years, 3 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/thread_proxy.h ('k') | components/html_viewer/web_layer_tree_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index ae543a3e207deae1015580ce5e0d09d84f6aed96..df9d560ac6f09f549a83faffc8d4e359a3d0ead8 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -623,24 +623,6 @@ void ThreadProxy::Stop() {
main().started = false;
}
-void ThreadProxy::ForceSerializeOnSwapBuffers() {
- DebugScopedSetMainThreadBlocked main_thread_blocked(this);
- CompletionEvent completion;
- Proxy::ImplThreadTaskRunner()->PostTask(
- FROM_HERE,
- base::Bind(&ThreadProxy::ForceSerializeOnSwapBuffersOnImplThread,
- impl_thread_weak_ptr_,
- &completion));
- completion.Wait();
-}
-
-void ThreadProxy::ForceSerializeOnSwapBuffersOnImplThread(
- CompletionEvent* completion) {
- if (impl().layer_tree_host_impl->renderer())
- impl().layer_tree_host_impl->renderer()->DoNoOp();
- completion->Signal();
-}
-
bool ThreadProxy::SupportsImplScrolling() const {
return true;
}
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | components/html_viewer/web_layer_tree_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698