Index: services/native_viewport/app_delegate.cc |
diff --git a/services/native_viewport/app_delegate.cc b/services/native_viewport/app_delegate.cc |
index bf290a8cd4d88f1260a93a5e3e00b96807f57b63..38ee4032bcc9c87fd549e16bfb9dbfcd78b90850 100644 |
--- a/services/native_viewport/app_delegate.cc |
+++ b/services/native_viewport/app_delegate.cc |
@@ -2,9 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include <vector> |
#include "services/native_viewport/app_delegate.h" |
+#include <vector> |
+#include "gpu/config/gpu_util.h" |
+ |
namespace native_viewport { |
NativeViewportAppDelegate::NativeViewportAppDelegate() : is_headless_(false) {} |
@@ -44,6 +46,8 @@ void NativeViewportAppDelegate::Initialize(mojo::ApplicationImpl* application) { |
command_line->AppendSwitchASCII(touch_event_string, *touch_iter); |
} |
+ gpu::ApplyGpuDriverBugWorkarounds(command_line); |
+ |
if (application->HasArg(mojo::kUseTestConfig)) |
gfx::GLSurface::InitializeOneOffForTests(); |
else if (application->HasArg(mojo::kUseOSMesa)) |