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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.cpp

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/editing/EditingUtilities.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
index 76af4bce462563a04fda0e569de210d02dbe8fc4..53f009d3d6b8723fe627a99fe6e9a96affba3813 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
@@ -918,7 +918,7 @@ bool isInline(const Node* node) {
return false;
const ComputedStyle* style = node->computedStyle();
- return style && style->display() == EDisplay::Inline;
+ return style && style->display() == EDisplay::kInline;
}
// TODO(yosin) Deploy this in all of the places where |enclosingBlockFlow()| and
@@ -1066,8 +1066,8 @@ static bool isSpecialHTMLElement(const Node& n) {
if (!layoutObject)
return false;
- if (layoutObject->style()->display() == EDisplay::Table ||
- layoutObject->style()->display() == EDisplay::InlineTable)
+ if (layoutObject->style()->display() == EDisplay::kTable ||
+ layoutObject->style()->display() == EDisplay::kInlineTable)
return true;
if (layoutObject->style()->isFloating())
« no previous file with comments | « third_party/WebKit/Source/core/dom/Text.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698