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

Unified Diff: ui/gl/gl_surface_egl.cc

Issue 192823002: [Ozone] Remove unnecessary cast to EGLNativeDisplayType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.cc
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index 583baccd7f4052d6fdcf8c5578d9f9153490630c..0f4284adff788236c44bc0fa6ef9d91d8c92632c 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -142,8 +142,7 @@ bool GLSurfaceEGL::InitializeOneOff() {
LOG(ERROR) << "OZONE failed to initialize hardware";
return false;
}
- g_native_display = reinterpret_cast<EGLNativeDisplayType>(
- surface_factory->GetNativeDisplay());
+ g_native_display = surface_factory->GetNativeDisplay();
#else
g_native_display = EGL_DEFAULT_DISPLAY;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698