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

Unified Diff: Source/core/css/StylePropertySet.cpp

Issue 119533003: Clear mutable inline style when it is empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resolved reviewer comments. Created 7 years 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: Source/core/css/StylePropertySet.cpp
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
index eb340403236e94d191a43671e6788b1f4073537a..c250710f15a2388a15537fa7f4c4f8a41c2d9f5f 100644
--- a/Source/core/css/StylePropertySet.cpp
+++ b/Source/core/css/StylePropertySet.cpp
@@ -118,7 +118,7 @@ String StylePropertySet::getPropertyValue(CSSPropertyID propertyID) const
PassRefPtr<CSSVariablesIterator> MutableStylePropertySet::variablesIterator()
{
- return VariablesIterator::create(this);
+ return new VariablesIterator(this);
eseidel 2013/12/23 23:26:28 Oh. The ::create() pattern is still perfered (sinc
chrishtr 2013/12/23 23:54:51 Done.
}
PassRefPtr<CSSValue> StylePropertySet::getPropertyCSSValue(CSSPropertyID propertyID) const

Powered by Google App Engine
This is Rietveld 408576698