| Index: components/bitmap_uploader/bitmap_uploader.cc
|
| diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
|
| index b79de436a05b87b6a341997eb380d7d2cde9fa85..f623ade4f8d21c8d31ae90b1f7242943317962d4 100644
|
| --- a/components/bitmap_uploader/bitmap_uploader.cc
|
| +++ b/components/bitmap_uploader/bitmap_uploader.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| +#include "cc/ipc/compositor_frame.mojom.h"
|
| #include "components/mus/public/cpp/gles2_context.h"
|
| #include "components/mus/public/cpp/surfaces/surfaces_type_converters.h"
|
| #include "components/mus/public/cpp/surfaces/surfaces_utils.h"
|
| @@ -72,7 +73,7 @@ void BitmapUploader::SetBitmap(int width,
|
| void BitmapUploader::Upload() {
|
| const gfx::Rect bounds(window_->bounds());
|
| cc::mojom::RenderPassPtr pass = mojo::CreateDefaultPass(1, bounds);
|
| - mus::mojom::CompositorFramePtr frame = mus::mojom::CompositorFrame::New();
|
| + cc::mojom::CompositorFramePtr frame = cc::mojom::CompositorFrame::New();
|
|
|
| // TODO(rjkroege): Support device scale factor in PDF viewer
|
| frame->metadata.device_scale_factor = 1.0f;
|
|
|