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

Unified Diff: ui/ozone/platform/cast/surface_factory_cast.cc

Issue 2588263005: Change GLGetProcAddress typedef to function returning function pointer (Closed)
Patch Set: fix cast Created 4 years 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
« ui/gl/gl_implementation.h ('K') | « ui/gl/wgl_api_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/cast/surface_factory_cast.cc
diff --git a/ui/ozone/platform/cast/surface_factory_cast.cc b/ui/ozone/platform/cast/surface_factory_cast.cc
index 21ff4a22ff557218d3eb4f4d0eb92824d4eba0be..04e3cfa125def513d357adb1a9c9daaa6d841b4e 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.cc
+++ b/ui/ozone/platform/cast/surface_factory_cast.cc
@@ -321,7 +321,8 @@ bool SurfaceFactoryCast::LoadEGLGLES2Bindings() {
void* lib_egl = egl_platform_->GetEglLibrary();
void* lib_gles2 = egl_platform_->GetGles2Library();
- gl::GLGetProcAddressProc gl_proc = egl_platform_->GetGLProcAddressProc();
+ gl::GLGetProcAddressProc gl_proc = reinterpret_cast<gl::GLGetProcAddressProc>(
+ egl_platform_->GetGLProcAddressProc());
if (!lib_egl || !lib_gles2 || !gl_proc) {
return false;
}
« ui/gl/gl_implementation.h ('K') | « ui/gl/wgl_api_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698