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

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

Issue 696413002: Remove HTMLLinkElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/dom/TreeScopeStyleSheetCollection.cpp ('k') | sky/engine/core/html/HTMLImportElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/DeleteSelectionCommand.cpp
diff --git a/sky/engine/core/editing/DeleteSelectionCommand.cpp b/sky/engine/core/editing/DeleteSelectionCommand.cpp
index 3a45fa7fa6c56c2e0e8457950b9525f776a64746..4a29796c5c4740d23f422d176bd7aae83c843880 100644
--- a/sky/engine/core/editing/DeleteSelectionCommand.cpp
+++ b/sky/engine/core/editing/DeleteSelectionCommand.cpp
@@ -334,7 +334,7 @@ void DeleteSelectionCommand::makeStylingElementsDirectChildrenOfEditableRootToPr
RefPtr<Node> node = range->firstNode();
while (node && node != range->pastLastNode()) {
RefPtr<Node> nextNode = NodeTraversal::next(*node);
- if (isHTMLStyleElement(*node) || isHTMLLinkElement(*node)) {
+ if (isHTMLStyleElement(*node)) {
nextNode = NodeTraversal::nextSkippingChildren(*node);
RefPtr<Element> rootEditableElement = node->rootEditableElement();
if (rootEditableElement.get()) {
« no previous file with comments | « sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp ('k') | sky/engine/core/html/HTMLImportElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698