summaryrefslogtreecommitdiffstats
path: root/components/pdf_viewer
diff options
context:
space:
mode:
Diffstat (limited to 'components/pdf_viewer')
-rw-r--r--components/pdf_viewer/pdf_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/pdf_viewer/pdf_viewer.cc b/components/pdf_viewer/pdf_viewer.cc
index 0934fab..beae796 100644
--- a/components/pdf_viewer/pdf_viewer.cc
+++ b/components/pdf_viewer/pdf_viewer.cc
@@ -75,7 +75,7 @@ class BitmapUploader : public mus::mojom::SurfaceClient {
}
void Init(mojo::Shell* shell) {
- surface_ = view_->RequestSurface();
+ surface_ = view_->RequestSurface(mus::mojom::SURFACE_TYPE_DEFAULT);
surface_->BindToThread();
mojo::ServiceProviderPtr gpu_service_provider;