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

Unified Diff: ui/ozone/gl/gl_image_ozone_native_pixmap.cc

Issue 2449993005: Remove GLImage::Destroy(). (Closed)
Patch Set: One more Destroy() call on Mac. Created 4 years, 2 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 | « ui/ozone/gl/gl_image_ozone_native_pixmap.h ('k') | ui/ozone/platform/drm/gpu/gbm_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/gl/gl_image_ozone_native_pixmap.cc
diff --git a/ui/ozone/gl/gl_image_ozone_native_pixmap.cc b/ui/ozone/gl/gl_image_ozone_native_pixmap.cc
index a9e61d6e4a7541543904e19907f303226c0ea229..f5475813fdf6aa41ef7ea4ee67ef7f7d6cfecb5b 100644
--- a/ui/ozone/gl/gl_image_ozone_native_pixmap.cc
+++ b/ui/ozone/gl/gl_image_ozone_native_pixmap.cc
@@ -198,10 +198,6 @@ unsigned GLImageOzoneNativePixmap::GetInternalFormat() {
return internalformat_;
}
-void GLImageOzoneNativePixmap::Destroy(bool have_context) {
- GLImageEGL::Destroy(have_context);
-}
-
bool GLImageOzoneNativePixmap::CopyTexImage(unsigned target) {
if (egl_image_ == EGL_NO_IMAGE_KHR) {
// Pass-through image type fails to bind and copy; make sure we
« no previous file with comments | « ui/ozone/gl/gl_image_ozone_native_pixmap.h ('k') | ui/ozone/platform/drm/gpu/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698