[chromium] Adding a number of layers in layer tree to WebRenderingStats.
Created attachment 173084 [details] Patch
jamesr@ Please take a look
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Do we need this? Can't it just go through the chromium repo?
Not yet, because the struct is passed by value instead of as a ptr. That prevents a static cast back to the cc type. We were going to fix this, but we've been holding off because we're planning on doing something completely different for stats [sending stats via inspector].
(In reply to comment #5) > Not yet, because the struct is passed by value instead of as a ptr. That prevents a static cast back to the cc type. Where? The only places I see this struct being used in WebKit are by const reference. > > We were going to fix this, but we've been holding off because we're planning on doing something completely different for stats [sending stats via inspector].