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

Unified Diff: remoting/client/gl_cursor_feedback_texture.cc

Issue 2196493002: [Chromoting] Unit Tests for GlRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't draw when canvas is not set Created 4 years, 4 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 | « remoting/client/gl_cursor.h ('k') | remoting/client/gl_render_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/gl_cursor_feedback_texture.cc
diff --git a/remoting/client/gl_cursor_feedback_texture.cc b/remoting/client/gl_cursor_feedback_texture.cc
index 5a572750f261bdb4aad5fca7b1ff9e37e6249c64..7a82b328651c70a5f06410c80f92eac20cc76e5f 100644
--- a/remoting/client/gl_cursor_feedback_texture.cc
+++ b/remoting/client/gl_cursor_feedback_texture.cc
@@ -34,7 +34,7 @@ uint32_t GetColorByRadius(float radius) {
if (ring_index < 0) {
NOTREACHED();
- return -1;
+ return 0;
}
if (ring_index == kColorRingsCount - 1) {
« no previous file with comments | « remoting/client/gl_cursor.h ('k') | remoting/client/gl_render_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698