summaryrefslogtreecommitdiff
path: root/src/select/computed.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-11 15:10:56 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-11 15:10:56 +0000
commit08d4a63ce511519ed61ddf1851de630464929bd7 (patch)
tree798b0f4d0b2e9755bcbd5dab7c579986dd0e738b /src/select/computed.c
parent1235822bb3d22b0935a14a45e9e740fcab854eb4 (diff)
downloadlibcss-08d4a63ce511519ed61ddf1851de630464929bd7.tar.gz
libcss-08d4a63ce511519ed61ddf1851de630464929bd7.tar.bz2
Change the representation of any data that includes a css_string. They're now either embedded directly in the computed style object, or are comprised of an array of objects (rather than pointers to objects)
svn path=/trunk/libcss/; revision=6432
Diffstat (limited to 'src/select/computed.c')
-rw-r--r--src/select/computed.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index a12e10f..cb7e173 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -53,27 +53,11 @@ css_error css_computed_style_destroy(css_computed_style *style)
if (style->uncommon != NULL) {
if (style->uncommon->counter_increment != NULL) {
- css_computed_counter **c =
- style->uncommon->counter_increment;
-
- while (*c != NULL) {
- style->alloc(*c, 0, style->pw);
- c++;
- }
-
style->alloc(style->uncommon->counter_increment, 0,
style->pw);
}
if (style->uncommon->counter_reset != NULL) {
- css_computed_counter **c =
- style->uncommon->counter_reset;
-
- while (*c != NULL) {
- style->alloc(*c, 0, style->pw);
- c++;
- }
-
style->alloc(style->uncommon->counter_reset, 0,
style->pw);
}