| Index: services/ui/public/cpp/lib/bitmap_uploader.cc
|
| diff --git a/services/ui/public/cpp/lib/bitmap_uploader.cc b/services/ui/public/cpp/lib/bitmap_uploader.cc
|
| index 75af7b3f24b79b22f85686db143beca03321c3d4..0d5c1d7f21e2b012818f23b0783b863580065a66 100644
|
| --- a/services/ui/public/cpp/lib/bitmap_uploader.cc
|
| +++ b/services/ui/public/cpp/lib/bitmap_uploader.cc
|
| @@ -38,12 +38,13 @@ BitmapUploader::BitmapUploader(Window* window)
|
| BitmapUploader::~BitmapUploader() {
|
| }
|
|
|
| -void BitmapUploader::Init() {
|
| +void BitmapUploader::Init(shell::Connector* connector) {
|
| surface_ = window_->RequestSurface(mojom::SurfaceType::DEFAULT);
|
| surface_->BindToThread();
|
| surface_->set_client(this);
|
|
|
| - gles2_context_ = GLES2Context::CreateOffscreenContext(std::vector<int32_t>());
|
| + gles2_context_ = GLES2Context::CreateOffscreenContext(
|
| + std::vector<int32_t>(), connector);
|
| // CreateOffscreenContext() may return null.
|
| }
|
|
|
|
|