| 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 5e0a79b9bd1cfacd47234c1b3748a1558d8a31cf..00d342e8b0354c6930db06ab078b48e8708a867a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemClient.cpp
|
| @@ -44,8 +44,10 @@ void DisplayItemClient::beginShouldKeepAlive() const
|
| CHECK(isAlive());
|
| if (!displayItemClientsShouldKeepAlive)
|
| displayItemClientsShouldKeepAlive = new HashMap<const DisplayItemClient*, String>();
|
| +#ifdef NDEBUG
|
| + displayItemClientsShouldKeepAlive->add(this, "");
|
| +#else
|
| auto addResult = displayItemClientsShouldKeepAlive->add(this, "");
|
| -#ifndef NDEBUG
|
| if (addResult.isNewEntry)
|
| addResult.storedValue->value = debugName();
|
| #endif
|
|
|