| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 if (!m_index) | 638 if (!m_index) |
| 639 return &m_deque->m_buffer.buffer()[m_deque->m_buffer.capacity() - 1]
; | 639 return &m_deque->m_buffer.buffer()[m_deque->m_buffer.capacity() - 1]
; |
| 640 return &m_deque->m_buffer.buffer()[m_index - 1]; | 640 return &m_deque->m_buffer.buffer()[m_index - 1]; |
| 641 } | 641 } |
| 642 | 642 |
| 643 } // namespace WTF | 643 } // namespace WTF |
| 644 | 644 |
| 645 using WTF::Deque; | 645 using WTF::Deque; |
| 646 | 646 |
| 647 #endif // WTF_Deque_h | 647 #endif // WTF_Deque_h |
| OLD | NEW |