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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFlowThread.h

Issue 2764883004: No default value for AncestorSearchConstraint in locateFlowThreadContainingBlockOf(). (Closed)
Patch Set: Created 3 years, 9 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/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;

Powered by Google App Engine
This is Rietveld 408576698