Index: third_party/WebKit/Source/core/frame/LayoutSubtreeRootList.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LayoutSubtreeRootList.cpp b/third_party/WebKit/Source/core/frame/LayoutSubtreeRootList.cpp |
index 43a606378047e8f73bd025479ab228610a6095fe..35979a40df8f340a459655b8f15cf994e612006e 100644 |
--- a/third_party/WebKit/Source/core/frame/LayoutSubtreeRootList.cpp |
+++ b/third_party/WebKit/Source/core/frame/LayoutSubtreeRootList.cpp |
@@ -10,14 +10,6 @@ |
namespace blink { |
-unsigned LayoutSubtreeRootList::LayoutSubtree::determineDepth(LayoutObject* object) |
-{ |
- unsigned depth = 1; |
- for (LayoutObject* parent = object->parent(); parent; parent = parent->parent()) |
- ++depth; |
- return depth; |
-} |
- |
void LayoutSubtreeRootList::removeRoot(LayoutObject& object) |
{ |
if (!m_roots.isEmpty()) { |