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

Unified Diff: content/renderer/gpu/compositor_output_surface.h

Issue 1205783002: CompositorOutputSurface should change thread priority on the target thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review #3 and git cl format Created 5 years, 6 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 | « no previous file | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_output_surface.h
diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
index cb4bdba9b4bcbd45808f9ab010ca5dfe610534ac..f3b05b6eab1149352e9e58c63f6496625f71726b 100644
--- a/content/renderer/gpu/compositor_output_surface.h
+++ b/content/renderer/gpu/compositor_output_surface.h
@@ -102,8 +102,10 @@ class CompositorOutputSurface
scoped_refptr<IPC::SyncMessageFilter> message_sender_;
scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
int routing_id_;
+#if defined(OS_ANDROID)
bool prefers_smoothness_;
- base::PlatformThreadHandle main_thread_handle_;
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner_;
+#endif
// TODO(danakj): Remove this when crbug.com/311404
bool layout_test_mode_;
« no previous file with comments | « no previous file | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698