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