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

Unified Diff: ppapi/proxy/ppapi_command_buffer_proxy.cc

Issue 10421007: Browser Plugin: Fixed silly typo in PpapiCommandBufferProxy. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: silly typo Created 8 years, 7 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: ppapi/proxy/ppapi_command_buffer_proxy.cc
diff --git a/ppapi/proxy/ppapi_command_buffer_proxy.cc b/ppapi/proxy/ppapi_command_buffer_proxy.cc
index 56ebf6533020dc11b74c311bedd9a67ca7f6caf4..d3fed94a7fb0eb490c94f6527aa38c62cbd37b2d 100644
--- a/ppapi/proxy/ppapi_command_buffer_proxy.cc
+++ b/ppapi/proxy/ppapi_command_buffer_proxy.cc
@@ -268,7 +268,8 @@ void PpapiCommandBufferProxy::UpdateState(
if (success) {
if (state.generation - last_state_.generation < 0x80000000U) {
last_state_ = state;
- } else
+ }
+ } else {
last_state_.error = gpu::error::kLostContext;
++last_state_.generation;
}
« 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