summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/shader_translator.cc
diff options
context:
space:
mode:
authorchirantan <chirantan@chromium.org>2015-04-03 00:43:09 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-03 07:44:29 +0000
commit937275d070c819e92c6cd9f40a9e33532494ded1 (patch)
tree5f67446c93384b322334d92fd084744499106a61 /gpu/command_buffer/service/shader_translator.cc
parent78d4a7e127b51a315bbb0b26aadd7e601a50e50f (diff)
downloadchromium_src-937275d070c819e92c6cd9f40a9e33532494ded1.zip
chromium_src-937275d070c819e92c6cd9f40a9e33532494ded1.tar.gz
chromium_src-937275d070c819e92c6cd9f40a9e33532494ded1.tar.bz2
Add missing check for quitting from MessagePumpLibevent
If a MessagePumpLibevent has no tasks to run, it will call libevent's event_base_loop with EVLOOP_ONCE. However, it may turn out that the event that finally runs actually quits the MessageLoop. In this case, there is an off-by-one error where MessagePumpLibevent will call the MessageLoop's DoWork function once before realizing that it was actually asked to quit. Add a check to prevent this from happening. BUG=none Review URL: https://codereview.chromium.org/1019793006 Cr-Commit-Position: refs/heads/master@{#323657}
Diffstat (limited to 'gpu/command_buffer/service/shader_translator.cc')
0 files changed, 0 insertions, 0 deletions