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

Unified Diff: components/bitmap_uploader/bitmap_uploader.h

Issue 2113533002: Makes BitmapUploader handle null GLES2Context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | 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 bd1b70d4f5bb08d261a79152564de2674ed8087a..d33bc834045aa0e2abc3f0199f83f111847f9777 100644
--- a/components/bitmap_uploader/bitmap_uploader.h
+++ b/components/bitmap_uploader/bitmap_uploader.h
@@ -73,6 +73,8 @@ class BITMAP_UPLOADER_EXPORT BitmapUploader
mus::Window* window_;
std::unique_ptr<mus::WindowSurface> surface_;
+ // 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<mus::GLES2Context> gles2_context_;
uint32_t color_;
« no previous file with comments | « no previous file | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698