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

Unified Diff: sky/engine/core/editing/ApplyBlockElementCommand.cpp

Issue 942933003: Remove almost all clients of isHTMLElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/core/editing/ApplyBlockElementCommand.h ('k') | sky/engine/core/editing/EditingStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/ApplyBlockElementCommand.cpp
diff --git a/sky/engine/core/editing/ApplyBlockElementCommand.cpp b/sky/engine/core/editing/ApplyBlockElementCommand.cpp
index 121ffc2f587f5aa02c6f6a0e7462fcd590ab9735..eeecf7a6ede94dcc444f1115f16589d9be77fbc2 100644
--- a/sky/engine/core/editing/ApplyBlockElementCommand.cpp
+++ b/sky/engine/core/editing/ApplyBlockElementCommand.cpp
@@ -230,12 +230,4 @@ VisiblePosition ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfN
return VisiblePosition(Position(text.get(), position.offsetInContainerNode() - 1));
}
-PassRefPtr<HTMLElement> ApplyBlockElementCommand::createBlockElement() const
-{
- RefPtr<HTMLElement> element = createHTMLElement(document(), m_tagName);
- if (m_inlineStyle.length())
- element->setAttribute(HTMLNames::styleAttr, m_inlineStyle);
- return element.release();
-}
-
}
« no previous file with comments | « sky/engine/core/editing/ApplyBlockElementCommand.h ('k') | sky/engine/core/editing/EditingStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698