Using non-override time in InspectorPerformanceAgent.cpp.
Right now the InspectorPerformanceAgent returns incorrect performance metrics (such as LayoutDuration, ScriptDuration, etc.) if there is an time override in place. The InspectorPerformanceAgent needs to return real time elapsed. Per offline discussion with Pavel(pfeldman@), the reason we don't expose the non-override time API in the web platform (<blink>/platform/time.h) is that time override is to abstract the web platform from the time. The web platform should just deal with time and not know about whether the time is overridden. Exposing the non-override time API in the very core part of blink will leak the override aspect and hence compromising the whole design BUG: 830033 Change-Id: If3140892ac60bc853ef5f98f7b478a98ae332806 Reviewed-on: https://chromium-review.googlesource.com/988833Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Pavel Feldman <pfeldman@chromium.org> Commit-Queue: Johnny Ding <jnd@chromium.org> Cr-Commit-Position: refs/heads/master@{#556012}
Showing
Please register or sign in to comment