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

Unified Diff: gpu/command_buffer/service/texture_definition.cc

Issue 1057183002: Fix a few lints found while working on crrev.com/1051503003. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More lints removed. "git cl format" reverted. Created 5 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
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index f2091b557bd7c2f505a53db92e7f6c31c39790fa..bb3c49de4e7a6c221c3df8b98795977f760a65d5 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -126,7 +126,7 @@ class NativeImageBufferEGL : public NativeImageBuffer {
base::Lock lock_;
struct ClientInfo {
- ClientInfo(gfx::GLImage* client);
+ explicit ClientInfo(gfx::GLImage* client);
~ClientInfo();
gfx::GLImage* client;
@@ -154,7 +154,7 @@ scoped_refptr<NativeImageBufferEGL> NativeImageBufferEGL::Create(
const EGLint egl_attrib_list[] = {
EGL_GL_TEXTURE_LEVEL_KHR, 0, EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, EGL_NONE};
EGLClientBuffer egl_buffer = reinterpret_cast<EGLClientBuffer>(texture_id);
- EGLenum egl_target = EGL_GL_TEXTURE_2D_KHR; // TODO
+ EGLenum egl_target = EGL_GL_TEXTURE_2D_KHR;
EGLImageKHR egl_image = eglCreateImageKHR(
egl_display, egl_context, egl_target, egl_buffer, egl_attrib_list);
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.cc ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698