summaryrefslogtreecommitdiff
path: root/chromium/content/browser/aura/reflector_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/aura/reflector_impl.cc')
-rw-r--r--chromium/content/browser/aura/reflector_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/content/browser/aura/reflector_impl.cc b/chromium/content/browser/aura/reflector_impl.cc
index 1e26cf8d18e..78726ecdcc2 100644
--- a/chromium/content/browser/aura/reflector_impl.cc
+++ b/chromium/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);
}