Index: app/gfx/gl/gl_context.cc |
=================================================================== |
--- app/gfx/gl/gl_context.cc (revision 67327) |
+++ app/gfx/gl/gl_context.cc (working copy) |
@@ -15,8 +15,7 @@ |
std::string GLContext::GetExtensions() { |
DCHECK(IsCurrent()); |
- const char* ext = reinterpret_cast<const char*>(glGetString(GL_EXTENSIONS)); |
- return std::string(ext ? ext : ""); |
+ return std::string(reinterpret_cast<const char*>(glGetString(GL_EXTENSIONS))); |
} |
bool GLContext::HasExtension(const char* name) { |