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

Unified Diff: content/browser/android/in_process/synchronous_compositor_factory_impl.cc

Issue 1864373002: Remove unused features for in-process GL contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inproclost: . 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/android/in_process/synchronous_compositor_factory_impl.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
index 194692466f2790b5680ce9071cb23f140b9b6996..4e5f3f132eaa594eaa319d6bdecf64afa044d599 100644
--- a/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
+++ b/content/browser/android/in_process/synchronous_compositor_factory_impl.cc
@@ -53,8 +53,8 @@ ContextHolder CreateContextHolder(
bool is_offscreen = true;
scoped_ptr<gpu::GLInProcessContext> context(gpu::GLInProcessContext::Create(
service, nullptr /* surface */, is_offscreen, gfx::kNullAcceleratedWidget,
- gfx::Size(1, 1), nullptr /* share_context */, false /* share_resources */,
- attributes, gfx::PreferDiscreteGpu, mem_limits,
+ gfx::Size(1, 1), nullptr /* share_context */, attributes,
+ gfx::PreferDiscreteGpu, mem_limits,
BrowserGpuMemoryBufferManager::current(), nullptr));
gpu::GLInProcessContext* context_ptr = context.get();

Powered by Google App Engine
This is Rietveld 408576698