Index: components/pdf_viewer/pdf_viewer.cc |
diff --git a/components/pdf_viewer/pdf_viewer.cc b/components/pdf_viewer/pdf_viewer.cc |
index 9321668ee6d53058908bc3bf430da9390b781fba..9d6e52f9f6245896bbeda5926fad7833cdd25365 100644 |
--- a/components/pdf_viewer/pdf_viewer.cc |
+++ b/components/pdf_viewer/pdf_viewer.cc |
@@ -89,6 +89,7 @@ class BitmapUploader : public mojo::SurfaceClient { |
gpu_service_->CreateOffscreenGLES2Context(GetProxy(&gles2_client)); |
gles2_context_ = MojoGLES2CreateContext( |
gles2_client.PassInterface().PassHandle().release().value(), |
+ nullptr, |
&LostContext, NULL, mojo::Environment::GetDefaultAsyncWaiter()); |
MojoGLES2MakeCurrent(gles2_context_); |
} |