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

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.cc

Issue 1950723002: Remove WebGraphicsContext3D reason from the CauseForGpuLaunch enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: launch-reasons: fix-software Created 4 years, 8 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
Index: content/browser/gpu/gpu_ipc_browsertests.cc
diff --git a/content/browser/gpu/gpu_ipc_browsertests.cc b/content/browser/gpu/gpu_ipc_browsertests.cc
index 4cd482f40281b6667b99fbc8fb32960ab6871217..bd1c0c85eef5eb251eefd0b0696ca40d49f083b9 100644
--- a/content/browser/gpu/gpu_ipc_browsertests.cc
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc
@@ -21,9 +21,8 @@
namespace {
-const content::CauseForGpuLaunch kInitCause =
- content::
- CAUSE_FOR_GPU_LAUNCH_WEBGRAPHICSCONTEXT3DCOMMANDBUFFERIMPL_INITIALIZE;
+constexpr content::CauseForGpuLaunch kInitCause =
+ content::CAUSE_FOR_GPU_LAUNCH_BROWSER_STARTUP;
scoped_refptr<content::ContextProviderCommandBuffer> CreateContext(
scoped_refptr<gpu::GpuChannelHost> gpu_channel_host) {

Powered by Google App Engine
This is Rietveld 408576698