| Index: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| index 4d29ac247fe2573a32e375dae57281ceedd6b06e..2134497680fecc9bcdf772db658d1c2369528d6b 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
|
| @@ -144,7 +144,7 @@ void PaintController::removeLastDisplayItem() {
|
| if (it != m_newDisplayItemIndicesByClient.end()) {
|
| Vector<size_t>& indices = it->value;
|
| if (!indices.isEmpty() &&
|
| - indices.last() == (m_newDisplayItemList.size() - 1))
|
| + indices.back() == (m_newDisplayItemList.size() - 1))
|
| indices.pop_back();
|
| }
|
| #endif
|
| @@ -185,14 +185,14 @@ void PaintController::processNewItem(DisplayItem& displayItem) {
|
| // The status will end when the subsequence owner is invalidated or
|
| // deleted.
|
| displayItem.client().beginShouldKeepAlive(
|
| - m_currentSubsequenceClients.last());
|
| + m_currentSubsequenceClients.back());
|
| }
|
| }
|
|
|
| if (displayItem.getType() == DisplayItem::kSubsequence) {
|
| m_currentSubsequenceClients.append(&displayItem.client());
|
| } else if (displayItem.getType() == DisplayItem::kEndSubsequence) {
|
| - CHECK(m_currentSubsequenceClients.last() == &displayItem.client());
|
| + CHECK(m_currentSubsequenceClients.back() == &displayItem.client());
|
| m_currentSubsequenceClients.pop_back();
|
| }
|
| }
|
|
|