| Index: Source/platform/graphics/paint/DisplayItemList.cpp
|
| diff --git a/Source/platform/graphics/paint/DisplayItemList.cpp b/Source/platform/graphics/paint/DisplayItemList.cpp
|
| index dae6cd5c1385389b47c9f28deebf01c36ae6242c..ecff614061bf8af43a29f071b3b0343024db4298 100644
|
| --- a/Source/platform/graphics/paint/DisplayItemList.cpp
|
| +++ b/Source/platform/graphics/paint/DisplayItemList.cpp
|
| @@ -264,6 +264,13 @@ void DisplayItemList::commitNewDisplayItems()
|
| DisplayItems::Iterator foundIt = findOutOfOrderCachedItem(currentIt, newDisplayItem.id(), matchingType, displayItemIndicesByClient);
|
| isSynchronized = (foundIt == currentIt);
|
|
|
| +#ifndef NDEBUG
|
| + if (foundIt == currentEnd) {
|
| + showDebugData();
|
| + WTFLogAlways("CachedDisplayItem %s not found in m_currentDisplayItems\n",
|
| + newDisplayItem.asDebugString().utf8().data());
|
| + }
|
| +#endif
|
| // TODO(chrishtr): downgrade to ASSERT as this goes to beta users, and replace with bailing out of the rest of the merge.
|
| // This assert hits if we couldn't find the cached display item in our cache, which should be impossible.
|
| RELEASE_ASSERT(foundIt != currentEnd);
|
|
|