Fix incorrect config id being associated with post splice buffer.
The code was using splice_buffers_index_ >= splice_buffer.size() to indicate that all pre splice buffers have been handed out. However this meant that the config change after handing out all pre splice buffers would incorrectly use the config id of the splice container instead of the last buffer (which is the first post splice buffer). See GetConfigId() for more details. This change fixes several tests and adds a new one to catch this explicitly. BUG=334493 TEST=new unittests, fixed existing tests! Review URL: https://codereview.chromium.org/251903008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267098 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment