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

Unified Diff: third_party/WebKit/Source/core/dom/ContainerNode.cpp

Issue 1997033002: Move continuation getter and setter down to LayoutBlockFlow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index 55996aeca080ceb95c57674cb6e88e5004e4705c..d509f3b3c8fbdbe9d5186bd4c8bbadfe911aed59 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -859,7 +859,7 @@ static inline LayoutObject* endOfContinuations(LayoutObject* layoutObject)
LayoutObject* prev = nullptr;
LayoutObject* cur = layoutObject;
- if (!cur->isLayoutInline() && !cur->isLayoutBlock())
+ if (!cur->isLayoutInline() && !cur->isLayoutBlockFlow())
return nullptr;
while (cur) {
@@ -867,7 +867,7 @@ static inline LayoutObject* endOfContinuations(LayoutObject* layoutObject)
if (cur->isLayoutInline())
cur = toLayoutInline(cur)->continuation();
else
- cur = toLayoutBlock(cur)->continuation();
+ cur = toLayoutBlockFlow(cur)->continuation();
}
return prev;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698