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

Unified Diff: content/browser/aura/reflector_impl.cc

Issue 20185002: ContextProvider in OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: contextprovider: android Created 7 years, 4 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/aura/reflector_impl.cc
diff --git a/content/browser/aura/reflector_impl.cc b/content/browser/aura/reflector_impl.cc
index 1e26cf8d18e14031233b6c0fda108380f93e99f0..78726ecdcc2716dbeacb09508b06f53996718d3e 100644
--- a/content/browser/aura/reflector_impl.cc
+++ b/content/browser/aura/reflector_impl.cc
@@ -68,7 +68,8 @@ void ReflectorImpl::ShutdownOnImplThread() {
// ImplThread.
void ReflectorImpl::AttachToOutputSurface(
BrowserCompositorOutputSurface* output_surface) {
- gl_helper_.reset(new GLHelper(output_surface->context3d()));
+ gl_helper_.reset(
+ new GLHelper(output_surface->context_provider()->Context3d()));
output_surface->SetReflector(this);
}

Powered by Google App Engine
This is Rietveld 408576698