| Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
|
| index 1e196f2ef26e9c762da1f1a54f835f68e0748d55..a7da630bc3aa699ee5bf130cfcbb27652dec74ae 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
|
| @@ -58,6 +58,14 @@ void DisplayItemClient::beginShouldKeepAlive(const void* owner) const
|
| addResult.storedValue->value = debugName();
|
| }
|
|
|
| +void DisplayItemClient::endShouldKeepAlive() const
|
| +{
|
| + if (displayItemClientsShouldKeepAlive) {
|
| + for (auto item : *displayItemClientsShouldKeepAlive)
|
| + item.value.remove(this);
|
| + }
|
| +}
|
| +
|
| void DisplayItemClient::endShouldKeepAliveAllClients(const void* owner)
|
| {
|
| if (displayItemClientsShouldKeepAlive)
|
|
|