[Webkit-unassigned] [Bug 88268] [chromium] Expose rendering statistics to WebLayerTreeView.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 21 15:21:11 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88268


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #148706|review?                     |review-
               Flag|                            |




--- Comment #26 from Adam Barth <abarth at webkit.org>  2012-06-21 15:21:10 PST ---
(From update of attachment 148706)
View in context: https://bugs.webkit.org/attachment.cgi?id=148706&action=review

> Source/Platform/chromium/public/WebRenderingStats.h:56
> +    WebSerializedScriptValue value()
> +    {
> +        v8::Handle<v8::Object> stats = v8::Object::New();
> +        if (numAnimationFrames)
> +            stats->Set(v8::String::New("numAnimationFrames"),
> +                              v8::Integer::New(numAnimationFrames),
> +                              v8::ReadOnly);
> +        if (numFramesSentToScreen)
> +            stats->Set(v8::String::New("numFramesSentToScreen"),
> +                              v8::Integer::New(numFramesSentToScreen),
> +                              v8::ReadOnly);
> +        return WebSerializedScriptValue::serialize(stats);
> +    }

I don't undertand why this function is here.  This doesn't look right.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list