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

Unified Diff: sky/engine/core/css/StyleKeyframe.cpp

Issue 758573005: Remove CSSOM mutability in StyleRule. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/css/StyleKeyframe.h ('k') | sky/engine/core/css/StyleRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/StyleKeyframe.cpp
diff --git a/sky/engine/core/css/StyleKeyframe.cpp b/sky/engine/core/css/StyleKeyframe.cpp
index 78d2cfbae86497d96fa1b4b4ccbb576415fa30a2..94ee838623555adb05e0ca1a76cd0df076d92651 100644
--- a/sky/engine/core/css/StyleKeyframe.cpp
+++ b/sky/engine/core/css/StyleKeyframe.cpp
@@ -89,13 +89,6 @@ void StyleKeyframe::setKeys(PassOwnPtr<Vector<double> > keys)
ASSERT(m_keyText.isNull());
}
-MutableStylePropertySet& StyleKeyframe::mutableProperties()
-{
- if (!m_properties->isMutable())
- m_properties = m_properties->mutableCopy();
- return *toMutableStylePropertySet(m_properties.get());
-}
-
void StyleKeyframe::setProperties(PassRefPtr<StylePropertySet> properties)
{
ASSERT(properties);
« no previous file with comments | « sky/engine/core/css/StyleKeyframe.h ('k') | sky/engine/core/css/StyleRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698