Index: third_party/WebKit/Source/core/css/StylePropertySet.cpp |
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.cpp b/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
index 04da3ec817a457dbd5b40ff50f6c7899b34ec82f..adbe70eea9558e1f838fc760cf76cbf247677921 100644 |
--- a/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.cpp |
@@ -590,4 +590,10 @@ PassRefPtrWillBeRawPtr<MutableStylePropertySet> MutableStylePropertySet::create( |
return adoptRefWillBeNoop(new MutableStylePropertySet(properties, count)); |
} |
+void StylePropertySet::purgeMemory() |
+{ |
+ for (unsigned i = 0; i < propertyCount(); i++) |
+ propertyAt(i).value()->purgeMemory(); |
+} |
+ |
} // namespace blink |