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

Unified Diff: content/test/layouttest_support.cc

Issue 2107783003: Pass initial size and GPU preference via context attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gpu/ipc/common/OWNERS presubmit Created 4 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
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 7604b2f6e2ddd859e2473c3a5af2ed0f2e087692..0683008eed5c193b527c73b6289b2fa170d9e7bb 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -204,8 +204,8 @@ class LayoutTestDependenciesImpl : public LayoutTestDependencies {
gpu::GpuStreamPriority::NORMAL, gpu::kNullSurfaceHandle,
GURL(
"chrome://gpu/LayoutTestDependenciesImpl::CreateOutputSurface"),
- gl::PreferIntegratedGpu, automatic_flushes, support_locking,
- gpu::SharedMemoryLimits(), attributes, nullptr,
+ automatic_flushes, support_locking, gpu::SharedMemoryLimits(),
+ attributes, nullptr,
command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_TESTING));
cc::LayerTreeSettings settings =

Powered by Google App Engine
This is Rietveld 408576698