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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/serializers/StyledMarkupSerializer.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
index 56ae182534dfc265783a60fbab54ddc962fe0a78..0929a85a166b881d96aa42f11b82d04a41f24b42 100644
--- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
@@ -406,7 +406,7 @@ void StyledMarkupTraverser<Strategy>::appendStartMarkup(Node& node)
if (!m_accumulator)
return;
switch (node.getNodeType()) {
- case Node::TEXT_NODE: {
+ case Node::kTextNode: {
Text& text = toText(node);
if (text.parentElement() && isHTMLTextAreaElement(text.parentElement())) {
m_accumulator->appendText(text);
@@ -424,7 +424,7 @@ void StyledMarkupTraverser<Strategy>::appendStartMarkup(Node& node)
m_accumulator->appendTextWithInlineStyle(text, inlineStyle);
break;
}
- case Node::ELEMENT_NODE: {
+ case Node::kElementNode: {
Element& element = toElement(node);
if ((element.isHTMLElement() && shouldAnnotate()) || shouldApplyWrappingStyle(element)) {
EditingStyle* inlineStyle = createInlineStyle(element);
« no previous file with comments | « third_party/WebKit/Source/core/editing/serializers/Serialization.cpp ('k') | third_party/WebKit/Source/core/events/Event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698