Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa

This commit is contained in:
Markus Stange
2015-03-07 18:40:03 -05:00
parent b21d7cf64e
commit 2ae8abfa79

View File

@@ -4535,9 +4535,11 @@ FrameLayerBuilder::PaintItems(nsTArray<ClippedDisplayItem>& aItems,
continue;
#ifdef MOZ_DUMP_PAINTING
PROFILER_LABEL_PRINTF("DisplayList", "Draw", js::ProfileEntry::Category::GRAPHICS, "%s %p", cdi->mItem->Name(), cdi->mItem);
PROFILER_LABEL_PRINTF("DisplayList", "Draw",
js::ProfileEntry::Category::GRAPHICS, "%s", cdi->mItem->Name());
#else
PROFILER_LABEL_PRINTF("DisplayList", "Draw", js::ProfileEntry::Category::GRAPHICS, "%p", cdi->mItem);
PROFILER_LABEL("DisplayList", "Draw",
js::ProfileEntry::Category::GRAPHICS);
#endif
// If the new desired clip state is different from the current state,