diff options
author | sky <sky@chromium.org> | 2015-11-03 11:45:12 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-03 19:46:10 +0000 |
commit | 5a1bb9a110ca9fbe4adc892adddb896505442f6c (patch) | |
tree | 2d1464871a1601b289f1d520d5d719ad66eead2f /components/pdf_viewer | |
parent | 4f7dce6051d69aa50e6800b456b0a8082bea4f5b (diff) | |
download | chromium_src-5a1bb9a110ca9fbe4adc892adddb896505442f6c.zip chromium_src-5a1bb9a110ca9fbe4adc892adddb896505442f6c.tar.gz chromium_src-5a1bb9a110ca9fbe4adc892adddb896505442f6c.tar.bz2 |
Adds support for an additional surface on each Window
The UNDERLAY surface is painted underneath the default one and is
intended to be used for drawing frame decorations in the wm.
I'm assuming we won't need nested surface references for UNDERLAY like
we have for the current surfaces.
BUG=548420
TEST=none
R=fsamuel@chromium.org
Review URL: https://codereview.chromium.org/1430883002
Cr-Commit-Position: refs/heads/master@{#357574}
Diffstat (limited to 'components/pdf_viewer')
-rw-r--r-- | components/pdf_viewer/pdf_viewer.cc | 2 |
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; |