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

Unified Diff: shell/android/main.cc

Issue 1350723004: Apply gpu workarounds. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: need to use the process command_line so move the init to where the process command line is initiali… 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 | « shell/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/main.cc
diff --git a/shell/android/main.cc b/shell/android/main.cc
index acde9578ebd55c756899897951a761fb693cc430..bdb9f04bd03940292eed16a36ecb175b49260a79 100644
--- a/shell/android/main.cc
+++ b/shell/android/main.cc
@@ -23,6 +23,7 @@
#include "base/synchronization/waitable_event.h"
#include "base/task_runner_util.h"
#include "base/threading/simple_thread.h"
+#include "gpu/config/gpu_util.h"
#include "jni/ShellService_jni.h"
#include "mojo/message_pump/message_pump_mojo.h"
#include "mojo/services/network/public/interfaces/network_service.mojom.h"
@@ -305,6 +306,8 @@ static void Start(JNIEnv* env,
g_internal_data.Get().shell_task_runner->PostDelayedTask(
FROM_HERE, base::Bind(&UploadCrashes, dumps_path),
base::TimeDelta::FromSeconds(kDelayBeforeCrashUploadInSeconds));
+
+ gpu::ApplyGpuDriverBugWorkarounds(command_line);
}
static void AddApplicationURL(JNIEnv* env, jclass clazz, jstring jurl) {
« no previous file with comments | « shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698