Niky Williams _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
I've created my own Marquee type effect...the <MARQUEE> tag just wasn't
robust enough. Here is my problem. I use
nsIDOMViewCSS::GetComputedStyle () to get a reference to
nsIDOMCSSStyleDeclaration, works find and dandy, then I use
nsIDOMCSSStyleDeclaration::GetPropertyValue () to get various
properties...left, top, width, height are the ones I'm using. Here is
where the weird part comes in. I have a timer, fires off every 20 ms or
so to make this marquee/scroller work. Looks good on the perfmon for
about 1:45...after that the mem allocation of my program starts to rise
out of control. If I comment OUT the
nsIDOMCSSStyleDeclaration::GetPropertyValue () (this is the only change
I make) mem allocation stays stable...flat line on the perfmon where it
should be. I realize by doing it this way in a timer thread, and not
within the actual Gecko event loop, that it's probably not exactly
thread safe...but I don't believe it would be causing this issue Is
there a possible leak with nsIDOMCSSStyleDeclaration::GetPropertyValue
() or does anyone know of any issues with this function? Please help,
I've been working on this all morning trying to figure it out...very
frustrating.
- nsIDOMCSSStyleDeclaration::GetPropertyValue () Please help, ... Niky Williams
- Re: nsIDOMCSSStyleDeclaration::GetPropertyValue () Plea... Boris Zbarsky
- Re: nsIDOMCSSStyleDeclaration::GetPropertyValue () ... Niky Williams
- Re: nsIDOMCSSStyleDeclaration::GetPropertyValue... Boris Zbarsky
- Re: nsIDOMCSSStyleDeclaration::GetPropertyV... Niky Williams
- Re: nsIDOMCSSStyleDeclaration::GetProp... Niky Williams
- Re: nsIDOMCSSStyleDeclaration::Get... Boris Zbarsky
