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

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

Issue 700703002: Remove more float machinery. (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/css/resolver/StyleAdjuster.cpp ('k') | sky/engine/core/editing/markup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/htmlediting.cpp
diff --git a/sky/engine/core/editing/htmlediting.cpp b/sky/engine/core/editing/htmlediting.cpp
index 07f017815c77fb598d40dbcec8a906cb367bb15a..41d7b47672844269805eac0d5c4eaec4ba411cc0 100644
--- a/sky/engine/core/editing/htmlediting.cpp
+++ b/sky/engine/core/editing/htmlediting.cpp
@@ -397,13 +397,6 @@ bool isSpecialHTMLElement(const Node* n)
if (n->isLink())
return true;
- RenderObject* renderer = n->renderer();
- if (!renderer)
- return false;
-
- if (renderer->style()->isFloating())
- return true;
-
return false;
}
« no previous file with comments | « sky/engine/core/css/resolver/StyleAdjuster.cpp ('k') | sky/engine/core/editing/markup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698