| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 641347fed2d55aca27f9b65c598a3f83d5606b98..d1caf43e98d8f9c81dd7eb18aafd33c77f7a6740 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -257,6 +257,17 @@ bool LayoutObject::isLegend() const {
|
| return isHTMLLegendElement(node());
|
| }
|
|
|
| +char LayoutObject::approximateHeapMemoryUsage() const {
|
| + int memory = 0;
|
| + if (m_style)
|
| + memory += sizeof(ComputedStyle);
|
| + if (m_paintProperties) {
|
| + memory += sizeof(ObjectPaintProperties);
|
| + memory += m_paintProperties->heapMemoryUsage();
|
| + }
|
| + return memory;
|
| +}
|
| +
|
| void LayoutObject::setIsInsideFlowThreadIncludingDescendants(
|
| bool insideFlowThread) {
|
| LayoutObject* next;
|
|
|