OSDN Git Service

fixed race condition in tile profiling
authorChris Craik <ccraik@google.com>
Fri, 29 Jul 2011 19:33:09 +0000 (12:33 -0700)
committerChris Craik <ccraik@google.com>
Fri, 29 Jul 2011 19:33:09 +0000 (12:33 -0700)
commit497da5a4386f7ced19a0a26cb136ade3b8fc0373
tree06710a2dc6589c79cf374052a5d5a407ac36ecd9
parent14a561b2c1a0d30c36751ea756c773d70c9c4d76
fixed race condition in tile profiling

bug:5062896

If tile profiling was started, and experienced an inval/tile update it wouldn't
have a place to log it. Added check to make sure it didn't try to store it in
the log vector anyway.

Change-Id: I18f199740a60a86439da141502ea355340bfa8cf
Source/WebCore/platform/graphics/android/TilesProfiler.cpp