Index: third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp |
index 9a2eb8b4f827f0f31434e452d2404467bf359546..33723bef1fa38aa8f959144541e95b2ad366727b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp |
@@ -119,8 +119,8 @@ void LayoutRubyBase::moveBlockChildren(LayoutRubyBase* toBase, LayoutObject* bef |
LayoutObject* lastChildThere = toBase->lastChild(); |
if (firstChildHere->isAnonymousBlock() && firstChildHere->childrenInline() |
&& lastChildThere && lastChildThere->isAnonymousBlock() && lastChildThere->childrenInline()) { |
- LayoutBlock* anonBlockHere = toLayoutBlock(firstChildHere); |
- LayoutBlock* anonBlockThere = toLayoutBlock(lastChildThere); |
+ LayoutBlockFlow* anonBlockHere = toLayoutBlockFlow(firstChildHere); |
+ LayoutBlockFlow* anonBlockThere = toLayoutBlockFlow(lastChildThere); |
anonBlockHere->moveAllChildrenTo(anonBlockThere, anonBlockThere->children()); |
anonBlockHere->deleteLineBoxTree(); |
anonBlockHere->destroy(); |