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

Unified Diff: sky/engine/core/dom/Element.cpp

Issue 712423002: Simplify some parsing-related code (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/DocumentParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.cpp
diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
index 0818d20878b8d526d1d622408ec94f90303773cf..2ff0dcc665f22b84e341c5040914005cf3aa8f54 100644
--- a/sky/engine/core/dom/Element.cpp
+++ b/sky/engine/core/dom/Element.cpp
@@ -1718,9 +1718,6 @@ inline void Element::setInlineStyleFromString(const AtomicString& newStyleString
void Element::styleAttributeChanged(const AtomicString& newStyleString)
{
ASSERT(isStyledElement());
- WTF::OrdinalNumber startLineNumber = WTF::OrdinalNumber::beforeFirst();
- if (document().scriptableDocumentParser())
- startLineNumber = document().scriptableDocumentParser()->lineNumber();
esprehn 2014/11/11 17:53:39 CSP!!
if (newStyleString.isNull()) {
ensureUniqueElementData().m_inlineStyle.clear();
« no previous file with comments | « sky/engine/core/dom/DocumentParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698