Add a sampling tracing to RenderWidget::DoDeferredUpdate
- This CL implements TraceEventSamplingState0Scope for scoped sampling. The implementation is the same as TraceEvent.h in Blink.
- This CL renames TRACE_EVENT_SAMPLE_STATE to TRACE_EVENT_SAMPLING_STATE, to make the name consistent with the macros in Blink.
TEST=TraceEventTestFixture.TraceSamplingScope
BUG=241743
Review URL: https://chromiumcodereview.appspot.com/18587004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210160 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: fc8bde1a25bbd6176ecffa1c845d5ed561cc315c
3 files changed