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

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: mus-demo 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
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..8db8249674df5f9667fa6e403844661feeab5b7a 100644
--- a/services/ui/demo/bitmap_uploader.h
+++ b/services/ui/demo/bitmap_uploader.h
@@ -31,8 +31,6 @@ class BitmapUploader : public WindowSurfaceClient {
BitmapUploader(Window* window, GpuService* gpu_service);
~BitmapUploader() override;
- void Init();
-
// Sets the color which is RGBA.
void SetColor(uint32_t color);
@@ -68,7 +66,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_;

Powered by Google App Engine
This is Rietveld 408576698