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

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

Issue 10828013: Removed dead code in program_manager.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: I'd mistakenly removed code that needed to be there. Created 8 years, 5 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: gpu/command_buffer/service/program_manager.cc
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc
index f0c9141e6d5353a261aacacb2d17bb3878a703ba..43cf44dd230aa992ed49835922161802cc6f669a 100644
--- a/gpu/command_buffer/service/program_manager.cc
+++ b/gpu/command_buffer/service/program_manager.cc
@@ -83,10 +83,6 @@ bool GetUniformNameSansElement(
index = index * 10 + digit;
}
- if (index < 0) {
- return false;
- }
-
*element_index = index;
*new_name = name.substr(0, open_pos);
return true;
« 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