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

Unified Diff: components/bitmap_uploader/bitmap_uploader.h

Issue 2007813003: Remove Mojo GLES2 API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 7 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 | « components/bitmap_uploader/BUILD.gn ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bitmap_uploader/bitmap_uploader.h
diff --git a/components/bitmap_uploader/bitmap_uploader.h b/components/bitmap_uploader/bitmap_uploader.h
index 5e90f6d03ab52d68f8a50b92082738dab998afa3..7b8f062048ae07005c67d7c8a4bff2acdd0b4589 100644
--- a/components/bitmap_uploader/bitmap_uploader.h
+++ b/components/bitmap_uploader/bitmap_uploader.h
@@ -19,7 +19,10 @@
#include "components/mus/public/interfaces/gpu.mojom.h"
#include "gpu/GLES2/gl2chromium.h"
#include "gpu/GLES2/gl2extchromium.h"
-#include "mojo/public/c/gles2/gles2.h"
+
+namespace mus {
+class GLES2Context;
+}
namespace shell {
class Connector;
@@ -72,7 +75,7 @@ class BITMAP_UPLOADER_EXPORT BitmapUploader
mus::Window* window_;
mus::mojom::GpuPtr gpu_service_;
std::unique_ptr<mus::WindowSurface> surface_;
- MojoGLES2Context gles2_context_;
+ std::unique_ptr<mus::GLES2Context> gles2_context_;
mojo::Size size_;
uint32_t color_;
« no previous file with comments | « components/bitmap_uploader/BUILD.gn ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698