Index: third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp b/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp |
index ee04d67bf9b53fabf4a4708fd9c2b7b82a8ecf73..5956706089321bfac9c5a74d6c954495cd2bc98e 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp |
@@ -359,11 +359,11 @@ HTMLMarqueeElement::Metrics HTMLMarqueeElement::getMetrics() { |
} |
if (isHorizontal()) { |
- m_mover->style()->setProperty(nullptr, "width", "-webkit-max-content", |
- "important", ASSERT_NO_EXCEPTION); |
+ m_mover->style()->setProperty("width", "-webkit-max-content", "important", |
+ ASSERT_NO_EXCEPTION); |
} else { |
- m_mover->style()->setProperty(nullptr, "height", "-webkit-max-content", |
- "important", ASSERT_NO_EXCEPTION); |
+ m_mover->style()->setProperty("height", "-webkit-max-content", "important", |
+ ASSERT_NO_EXCEPTION); |
} |
CSSStyleDeclaration* moverStyle = |
document().domWindow()->getComputedStyle(m_mover, String()); |