Avoid unneeded Deque items copying at Deque::takeFirst()/takeLast() methods.
Avoid unneeded Deque items copying at Deque::takeFirst()/takeLast() methods.

Avoid unneeded Deque items copying at Deque::takeFirst()/takeLast() methods via using reference as PassTraits::PassType.

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

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@160891 bbb929c8-8fbe-4397-9dbb-9b2b20218538

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk