-
dsinclair@chromium.org authored
If we send the available callback before we've finished loading the current cached shaders off disk there is a potential race condition where we do a cache clear while reading. This causes an issue with the iterators and the cache does not get cleared. This patch delays the signaling of the available cache until after we have finished iterating over the cache and loading the old shaders. BUG=176289 Review URL: https://chromiumcodereview.appspot.com/13730005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193411 0039d316-1c4b-4281-b951-d872f2087c98
5a8cbcea