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

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

Issue 2670643004: Rename EDisplay values with k prefix. (Closed)
Patch Set: Rebase 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/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 40dee15dee396a1667c570fa48d2ffa707122f43..f9a49f8c9e2b91e4a48cc38a96257f6438356ad7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -713,8 +713,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// LayoutBlock having a BLOCK or BOX display. Other classes such as
// LayoutTextFragment are not LayoutBlocks and will return false.
// See https://bugs.webkit.org/show_bug.cgi?id=56709.
- return isAnonymous() && (style()->display() == EDisplay::Block ||
- style()->display() == EDisplay::WebkitBox) &&
+ return isAnonymous() &&
+ (style()->display() == EDisplay::kBlock ||
+ style()->display() == EDisplay::kWebkitBox) &&
style()->styleType() == PseudoIdNone && isLayoutBlock() &&
!isListMarker() && !isLayoutFlowThread() &&
!isLayoutMultiColumnSet() && !isLayoutFullScreen() &&

Powered by Google App Engine
This is Rietveld 408576698