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

Unified Diff: Source/core/layout/GeneratedChildren.h

Issue 1122323002: Cleanup: Remove LayoutRegion. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase master Created 5 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 | « Source/core/core.gypi ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/GeneratedChildren.h
diff --git a/Source/core/layout/GeneratedChildren.h b/Source/core/layout/GeneratedChildren.h
index d8fbd9fa717e8178f1ba52f1113a98298e6f547d..67889ed0348f6177300244fedce6870331f4238f 100644
--- a/Source/core/layout/GeneratedChildren.h
+++ b/Source/core/layout/GeneratedChildren.h
@@ -20,9 +20,6 @@ static bool canHaveGeneratedChildren(const LayoutObject& layoutObject)
if (layoutObject.isMedia() || layoutObject.isTextControl() || layoutObject.isMenuList())
return false;
- if (layoutObject.isLayoutRegion())
- return true;
-
// Input elements can't have generated children, but button elements can. We'll
// write the code assuming any other button types that might emerge in the future
// can also have children.
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698