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

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

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 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_output_surface.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_output_surface.cc b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
index af79e1b0cd35dc75d90cb7d6487bfd95683165c5..edadb0e9fcf2471f5a3de3629d5bde8fac24eb38 100644
--- a/content/browser/android/in_process/synchronous_compositor_output_surface.cc
+++ b/content/browser/android/in_process/synchronous_compositor_output_surface.cc
@@ -170,14 +170,12 @@ void AdjustTransform(gfx::Transform* transform, gfx::Rect viewport) {
} // namespace
bool SynchronousCompositorOutputSurface::InitializeHwDraw(
- scoped_refptr<cc::ContextProvider> onscreen_context_provider,
- scoped_refptr<cc::ContextProvider> offscreen_context_provider) {
+ scoped_refptr<cc::ContextProvider> onscreen_context_provider) {
DCHECK(CalledOnValidThread());
DCHECK(HasClient());
DCHECK(!context_provider_);
- return InitializeAndSetContext3d(onscreen_context_provider,
- offscreen_context_provider);
+ return InitializeAndSetContext3d(onscreen_context_provider);
}
void SynchronousCompositorOutputSurface::ReleaseHwDraw() {

Powered by Google App Engine
This is Rietveld 408576698