Commit b44a986e authored by fsamuel@chromium.org's avatar fsamuel@chromium.org

Browser Plugin: Fixed silly typo in PpapiCommandBufferProxy.

Accidiently had the wrong number of brackets which did not produce the desired
behavior while iterating over previous issue 10387182. This change makes it do
the right thing.

BUG=none
TEST=manually

Review URL: https://chromiumcodereview.appspot.com/10421007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138374 0039d316-1c4b-4281-b951-d872f2087c98
parent 375fa1b1
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment