Index: third_party/WebKit/Source/core/layout/LayoutFlowThread.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlowThread.h b/third_party/WebKit/Source/core/layout/LayoutFlowThread.h |
index 3654b455d19c0602101bdecf20883e24c5c8fd07..4bd139fd012263eeb1072d807f52284b1bacd139 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutFlowThread.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutFlowThread.h |
@@ -73,9 +73,9 @@ class CORE_EXPORT LayoutFlowThread : public LayoutBlockFlow { |
// Search mode when looking for an enclosing fragmentation context. |
enum AncestorSearchConstraint { |
- // No constraints. Sometimes we just want to find all enclosing |
- // fragmentation contexts, e.g. to calculate the accumulated visual |
- // translation. |
+ // No constraints. When we're not laying out (but rather e.g. painting or |
+ // hit-testing), we just want to find all enclosing fragmentation contexts, |
+ // e.g. to calculate the accumulated visual translation. |
AnyAncestor, |
// Consider fragmentation contexts that are strictly unbreakable (seen from |
@@ -88,7 +88,7 @@ class CORE_EXPORT LayoutFlowThread : public LayoutBlockFlow { |
static LayoutFlowThread* locateFlowThreadContainingBlockOf( |
const LayoutObject&, |
- AncestorSearchConstraint = IsolateUnbreakableContainers); |
+ AncestorSearchConstraint); |
void layout() override; |