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

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

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 3 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/LayoutBlock.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index 5332d65100d1f065cae7b03042c8c15bd918d900..54659a20fa77c27f6fff7ab98a07db13b9aee26f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -187,8 +187,8 @@ public:
void setSelectionState(SelectionState) override;
- static LayoutBlock* createAnonymousWithParentAndDisplay(const LayoutObject*, EDisplay = BLOCK);
- LayoutBlock* createAnonymousBlock(EDisplay display = BLOCK) const { return createAnonymousWithParentAndDisplay(this, display); }
+ static LayoutBlock* createAnonymousWithParentAndDisplay(const LayoutObject*, EDisplay = EDisplay::Block);
+ LayoutBlock* createAnonymousBlock(EDisplay display = EDisplay::Block) const { return createAnonymousWithParentAndDisplay(this, display); }
LayoutBox* createAnonymousBoxWithSameTypeAs(const LayoutObject* parent) const override;

Powered by Google App Engine
This is Rietveld 408576698