[chromium] Add traceEvents to compositor
Created attachment 86705 [details] Patch
Comment on attachment 86705 [details] Patch I think it would be better to add a helper class in WebCore/platform/chromium/ which calls PlatformBridge's traceEventBegin in its constructor and traceEventEnd in its destructor, and stack allocate it where desired. This patch seems too brittle.
Created attachment 86732 [details] Patch
Not sure how to address the style bot warning about MAKE_UNIQUE_IDENTIFIER.
Attachment 86732 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/chromium/TraceEvent.h:39: TRACE_EVENT_MAKE_UNIQUE_IDENTIFIER is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 86732 [details] Patch You should feel free to file a bug against check-webkit-style, but it looks like it doesn't handle multi-line #defines correctly. If you just make the TRACE_EVENT macro a single line it will clean up the style error. This is worth doing.
Created attachment 86792 [details] Patch
Comment on attachment 86792 [details] Patch Looks great.
Comment on attachment 86792 [details] Patch Clearing flags on attachment: 86792 Committed r81881: <http://trac.webkit.org/changeset/81881>
All reviewed patches have been landed. Closing bug.