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

Unified Diff: content/browser/gpu/gpu_ipc_browsertests.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
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 6fbf89183a8e2712679a493f08720ebec472ee17..016e49169b5bd5058eef4dfbef3255e73d928633 100644
--- a/content/browser/gpu/gpu_ipc_browsertests.cc
+++ b/content/browser/gpu/gpu_ipc_browsertests.cc
@@ -40,9 +40,8 @@ scoped_refptr<content::ContextProviderCommandBuffer> CreateContext(
return make_scoped_refptr(new content::ContextProviderCommandBuffer(
std::move(gpu_channel_host), gpu::GPU_STREAM_DEFAULT,
gpu::GpuStreamPriority::NORMAL, gpu::kNullSurfaceHandle, GURL(),
- gl::PreferIntegratedGpu, automatic_flushes, support_locking,
- gpu::SharedMemoryLimits(), attributes, nullptr,
- content::command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_TESTING));
+ automatic_flushes, support_locking, gpu::SharedMemoryLimits(), attributes,
+ nullptr, content::command_buffer_metrics::OFFSCREEN_CONTEXT_FOR_TESTING));
}
class ContextTestBase : public content::ContentBrowserTest {
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698