| Index: ui/gl/generate_bindings.py
|
| diff --git a/ui/gl/generate_bindings.py b/ui/gl/generate_bindings.py
|
| index 303c01ebb5567229893b8e16bdb8323e190a2bd3..b135cac46dead16b4e2170e272356daebc25ddd6 100755
|
| --- a/ui/gl/generate_bindings.py
|
| +++ b/ui/gl/generate_bindings.py
|
| @@ -1521,9 +1521,10 @@ namespace gfx {
|
| # on the extension string or the GL version.
|
| file.write("""void Driver%s::InitializeDynamicBindings(GLContext* context) {
|
| DCHECK(context && context->IsCurrent(NULL));
|
| - const GLVersionInfo* ver ALLOW_UNUSED = context->GetVersionInfo();
|
| - std::string extensions ALLOW_UNUSED = context->GetExtensions();
|
| - extensions += " ";
|
| + const GLVersionInfo* ver = context->GetVersionInfo();
|
| + ALLOW_UNUSED_LOCAL(ver);
|
| + std::string extensions = context->GetExtensions() + " ";
|
| + ALLOW_UNUSED_LOCAL(extensions);
|
|
|
| """ % set_name.upper())
|
| for extension in sorted(used_extensions):
|
|
|