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

Unified Diff: android_webview/browser/render_thread_manager.cc

Issue 2457353002: aw: Enable async ondraw (Closed)
Patch Set: fix unit tests Created 4 years, 1 month 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 | « android_webview/browser/render_thread_manager.h ('k') | android_webview/browser/test/rendering_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/render_thread_manager.cc
diff --git a/android_webview/browser/render_thread_manager.cc b/android_webview/browser/render_thread_manager.cc
index 8a979405884c5ebe2c1c6d5ed44de392048a403b..9a14dda0d25cca1b0c4b51fa9346d13167e76335 100644
--- a/android_webview/browser/render_thread_manager.cc
+++ b/android_webview/browser/render_thread_manager.cc
@@ -100,8 +100,8 @@ RenderThreadManager::RenderThreadManager(
compositor_frame_producer_(nullptr),
renderer_manager_key_(GLViewRendererManager::GetInstance()->NullKey()),
hardware_renderer_has_frame_(false),
- async_on_draw_hardware_(base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAsyncOnDrawHardware)),
+ sync_on_draw_hardware_(base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kSyncOnDrawHardware)),
inside_hardware_release_(false),
weak_factory_on_ui_thread_(this) {
DCHECK(ui_loop_->BelongsToCurrentThread());
« no previous file with comments | « android_webview/browser/render_thread_manager.h ('k') | android_webview/browser/test/rendering_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698