| Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
|
| index b4b9c844619fa3f0c551bddae35ca88d4d9d3c2c..e58e701589ad321cc222b2a8e7926f7f1e8e759d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
|
| @@ -577,11 +577,11 @@ void DisplayItemList::showDebugData() const
|
|
|
| #endif // ifndef NDEBUG
|
|
|
| -void DisplayItemList::replay(GraphicsContext& context)
|
| +void DisplayItemList::replay(GraphicsContext& context) const
|
| {
|
| TRACE_EVENT0("blink,benchmark", "DisplayItemList::replay");
|
| ASSERT(m_newDisplayItems.isEmpty());
|
| - for (DisplayItem& displayItem : m_currentDisplayItems)
|
| + for (const DisplayItem& displayItem : m_currentDisplayItems)
|
| displayItem.replay(context);
|
| }
|
|
|
|
|