Index: Source/platform/graphics/paint/DisplayItem.h |
diff --git a/Source/platform/graphics/paint/DisplayItem.h b/Source/platform/graphics/paint/DisplayItem.h |
index 0da40fce703c9f7abcd21454f36ee1eb15d5ac22..b2fa2cb33e98610f69df9070ba3cad3d6e697a26 100644 |
--- a/Source/platform/graphics/paint/DisplayItem.h |
+++ b/Source/platform/graphics/paint/DisplayItem.h |
@@ -328,6 +328,7 @@ public: |
#ifndef NDEBUG |
static WTF::String typeAsDebugString(DisplayItem::Type); |
const WTF::String& clientDebugString() const { return m_clientDebugString; } |
+ void setClientDebugString(const WTF::String& s) { m_clientDebugString = s; } |
WTF::String asDebugString() const; |
virtual void dumpPropertiesAsDebugString(WTF::StringBuilder&) const; |
#endif |
@@ -344,9 +345,6 @@ private: |
, m_type(UninitializedType) |
, m_derivedSize(sizeof(*this)) |
, m_skippedCache(false) |
-#ifndef NDEBUG |
- , m_clientDebugString("invalid") |
-#endif |
{ } |
DisplayItemClient m_client; |