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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp

Issue 2625303002: Fix CSSPropertySetterGetterMethods regression (Closed)
Patch Set: fix Created 3 years, 11 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
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());

Powered by Google App Engine
This is Rietveld 408576698