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

Unified Diff: components/mus/gles2/command_buffer_driver.cc

Issue 1875303003: mus CommandBufferDriver cleanup detected by static analysis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: components/mus/gles2/command_buffer_driver.cc
diff --git a/components/mus/gles2/command_buffer_driver.cc b/components/mus/gles2/command_buffer_driver.cc
index a173e08421dfff5bfb721531639f9c3c454efded..1968114ae11eafcee53d711dfb0f836af69f58a4 100644
--- a/components/mus/gles2/command_buffer_driver.cc
+++ b/components/mus/gles2/command_buffer_driver.cc
@@ -86,7 +86,6 @@ bool CommandBufferDriver::Initialize(
return false;
const bool offscreen = widget_ == gfx::kNullAcceleratedWidget;
- static scoped_refptr<gfx::GLSurface> underlying_surface;
if (offscreen) {
surface_ = gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(0, 0));
} else {
« 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