diff options
author | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-16 04:10:56 +0000 |
---|---|---|
committer | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-16 04:10:56 +0000 |
commit | d1034eb9724dd15cdc0c185d6857e749859d03ef (patch) | |
tree | bd330f6368ad95d3b9ecb219468e9b9e27c3bf13 /gpu/command_buffer/service/common_decoder.cc | |
parent | 746be113648f1351713af219dee8e9b9f974747c (diff) | |
download | chromium_src-d1034eb9724dd15cdc0c185d6857e749859d03ef.zip chromium_src-d1034eb9724dd15cdc0c185d6857e749859d03ef.tar.gz chromium_src-d1034eb9724dd15cdc0c185d6857e749859d03ef.tar.bz2 |
Remove extra DoCommonCommand call.
If the provided command id is bigger then the size of our
command array we would recurse until we run out of memory.
Remove extra call; add unit test.
BUG=58153
Review URL: https://chromiumcodereview.appspot.com/11308045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/common_decoder.cc')
-rw-r--r-- | gpu/command_buffer/service/common_decoder.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/common_decoder.cc b/gpu/command_buffer/service/common_decoder.cc index b9886ce..74adcea 100644 --- a/gpu/command_buffer/service/common_decoder.cc +++ b/gpu/command_buffer/service/common_decoder.cc @@ -166,7 +166,6 @@ error::Error CommonDecoder::DoCommonCommand( return error::kInvalidArguments; } } - return DoCommonCommand(command, arg_count, cmd_data); return error::kUnknownCommand; } |