Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: third_party/WebKit/Source/core/frame/LayoutSubtreeRootList.cpp

Issue 1549153002: Fix preferred logical widths of orthogonal writing modes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (merge conflict resolved) Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()) {

Powered by Google App Engine
This is Rietveld 408576698