Add missing buffer reorg on Deque buffer expansion.

If a deque's buffer is expanded in place and that buffer contains items
at either buffer ends when that happens, make sure the end segment is moved
up to the end of the expanded buffer, along with adjusting the start
index.

R=thakis,haraken
BUG=445352

Review URL: https://codereview.chromium.org/835453002

git-svn-id: svn://svn.chromium.org/blink/trunk@187800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: eb7fb9154958b14f1ee18093ed8d833ed8627658
  1. third_party/