Bug 718440. Add more sampler labels to various places. r=bgirard

This shows the problems described in bug 710068.
This commit is contained in:
Jeff Muizelaar
2012-01-17 15:33:04 -05:00
parent e88c1896d8
commit 0e918c271b
20 changed files with 64 additions and 13 deletions

View File

@@ -59,6 +59,7 @@
#include "nsHtml5StreamParser.h"
#include "mozilla/css/Loader.h"
#include "mozilla/Util.h" // DebugOnly
#include "sampler.h"
using namespace mozilla;
@@ -426,6 +427,7 @@ class nsHtml5FlushLoopGuard
void
nsHtml5TreeOpExecutor::RunFlushLoop()
{
SAMPLE_LABEL("html5", "RunFlushLoop");
if (mRunFlushLoopOnStack) {
// There's already a RunFlushLoop() on the call stack.
return;