Confirmed users
29
edits
Victor.porof (talk | contribs) (Update documentation to reflect the new API) |
Victor.porof (talk | contribs) |
||
Line 40: | Line 40: | ||
===== Using ''<code>mozilla::AutoGlobalTimelineMarker</code>'' ===== | ===== Using ''<code>mozilla::AutoGlobalTimelineMarker</code>'' ===== | ||
Similar to the previous RAII class, but doesn't expect a specific docshell, and the marker will be visible in all timeline consumers. This is useful for generic operations that don't involve a particular dochsell, or where a docshell isn't accessible. May also be used on the main thread | Similar to the previous RAII class, but doesn't expect a specific docshell, and the marker will be visible in all timeline consumers. This is useful for generic operations that don't involve a particular dochsell, or where a docshell isn't accessible. May also only be used on the main thread. | ||
Example: | Example: |