Index: ppapi/tests/test_graphics_3d.cc |
diff --git a/ppapi/tests/test_graphics_3d.cc b/ppapi/tests/test_graphics_3d.cc |
index 4bdd09dbab17b60cd07a338a3eddb2898cf8e395..75b4d6839c36a2f627aa27bae790c44cdf692f07 100644 |
--- a/ppapi/tests/test_graphics_3d.cc |
+++ b/ppapi/tests/test_graphics_3d.cc |
@@ -16,7 +16,7 @@ |
REGISTER_TEST_CASE(Graphics3D); |
bool TestGraphics3D::Init() { |
- opengl_es2_ = reinterpret_cast<const PPB_OpenGLES2*>( |
+ opengl_es2_ = static_cast<const PPB_OpenGLES2*>( |
pp::Module::Get()->GetBrowserInterface(PPB_OPENGLES2_INTERFACE)); |
return opengl_es2_ && InitTestingInterface(); |
} |