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

Unified Diff: ui/gl/gl_image.h

Issue 2104393003: Revert of Remove unsafe cast from ImageTransportSurfaceOverlayMac::ScheduleCALayer. (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 | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image.h
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h
index 8a7a21203f9404196d8a10caae8afc27ca042ae5..929970ea9e43b35546cf62284012e1640f65b3a5 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -85,13 +85,6 @@
// removed. https://crbug.com/581777#c36
virtual bool EmulatingRGB() const;
- // An identifier for subclasses. Necessary for safe downcasting.
- enum class Type {
- NONE,
- IOSURFACE
- };
- virtual Type GetType() const;
-
protected:
virtual ~GLImage() {}
« no previous file with comments | « gpu/ipc/service/image_transport_surface_overlay_mac.mm ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698