Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: services/ui/public/cpp/lib/bitmap_uploader.cc

Issue 2187103002: services/ui: Remove unused connector argument (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build errors Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/public/cpp/gles2_context.h ('k') | services/ui/public/cpp/lib/context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(Window* window)
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.
}
« no previous file with comments | « services/ui/public/cpp/gles2_context.h ('k') | services/ui/public/cpp/lib/context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698