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

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

Issue 1980473002: Move collapseAnonymousBlockChild() to LayoutBlockFlow, and make it non-static. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/Source/core/layout/LayoutButton.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutButton.h b/third_party/WebKit/Source/core/layout/LayoutButton.h
index bd22f834d915c1e2cf691a6fa43e5c1d87736b0d..2c6b97f151c2803b41cbd38d6e2d3d594924b3e8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutButton.h
+++ b/third_party/WebKit/Source/core/layout/LayoutButton.h
@@ -38,7 +38,6 @@ public:
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutButton || LayoutFlexibleBox::isOfType(type); }
bool canBeSelectionLeaf() const override { return node() && node()->hasEditableStyle(); }
- bool canCollapseAnonymousBlockChild() const override { return true; }
void addChild(LayoutObject* newChild, LayoutObject *beforeChild = nullptr) override;
void removeChild(LayoutObject*) override;

Powered by Google App Engine
This is Rietveld 408576698