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

Unified Diff: services/ui/demo/bitmap_uploader.h

Issue 2257693002: services/ui: Use a gpu::GpuChannelHost when creating ui::OutputSurface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 | « content/renderer/render_thread_impl.cc ('k') | services/ui/demo/bitmap_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/bitmap_uploader.h
diff --git a/services/ui/demo/bitmap_uploader.h b/services/ui/demo/bitmap_uploader.h
index 80203cec6f9b7f67e99635749941da535ab18538..81389105c8ccaf190771b5547aa4e93a68dc158f 100644
--- a/services/ui/demo/bitmap_uploader.h
+++ b/services/ui/demo/bitmap_uploader.h
@@ -28,11 +28,10 @@ extern const char kBitmapUploaderForAcceleratedWidget[];
// Window.
class BitmapUploader : public WindowSurfaceClient {
public:
- BitmapUploader(Window* window, GpuService* gpu_service);
+ explicit BitmapUploader(Window* window);
~BitmapUploader() override;
- void Init();
-
+ void Init(GpuService* gpu_service);
// Sets the color which is RGBA.
void SetColor(uint32_t color);
@@ -68,7 +67,6 @@ class BitmapUploader : public WindowSurfaceClient {
// This may be null if there is an error contacting mus/initializing. We
// assume we'll be shutting down soon and do nothing in this case.
std::unique_ptr<GLES2Context> gles2_context_;
- GpuService* gpu_service_;
uint32_t color_;
int width_;
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | services/ui/demo/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698