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

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: gyp fix 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
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | gpu/command_buffer/client/gl_in_process_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 318b43552979c8f9ad5c97e7584f06166a188366..cf56a43f133ba05856ccf1b10e5ef402fa5784e6 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -203,8 +203,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 =
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | gpu/command_buffer/client/gl_in_process_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698