aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-12 09:58:07 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-10-12 09:58:07 +0200
commit0cb94cd0c167ab0bf7940de10ba0075a20eac064 (patch)
treeafa6c002480c18f5022aefa606d96e727146dbfb /src/styleengine.cc
parentff717a2d9bc7dad370e3eb9a7919ea8a12e46416 (diff)
implement optional deep copy for CssPropertyList
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index d655ee88..be6e3eb1 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -153,7 +153,7 @@ void StyleEngine::inheritNonCssHints () {
Node *n = stack->getRef (stack->size () - 1);
if (pn->nonCssProperties)
- n->nonCssProperties = new CssPropertyList (*pn->nonCssProperties);
+ n->nonCssProperties = new CssPropertyList (*pn->nonCssProperties, true);
}
void StyleEngine::clearNonCssHints () {