зеркало из https://github.com/mozilla/gecko-dev.git
Add more profile labels for the separate parts of restyle processing. (Bug 790379) rs=cjones
This commit is contained in:
Родитель
9fbff9cd22
Коммит
ac90d018cc
|
@ -119,6 +119,7 @@
|
|||
|
||||
#include "nsRefreshDriver.h"
|
||||
#include "nsRuleProcessorData.h"
|
||||
#include "sampler.h"
|
||||
|
||||
using namespace mozilla;
|
||||
using namespace mozilla::dom;
|
||||
|
@ -8012,6 +8013,8 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
|||
if (!count)
|
||||
return NS_OK;
|
||||
|
||||
SAMPLE_LABEL("CSS", "ProcessRestyledFrames");
|
||||
|
||||
// Make sure to not rebuild quote or counter lists while we're
|
||||
// processing restyles
|
||||
BeginUpdate();
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
|
||||
#include "nsFrameManager.h"
|
||||
#include "nsRuleProcessorData.h"
|
||||
#include "sampler.h"
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
#include "nsAccessibilityService.h"
|
||||
|
@ -1646,6 +1647,8 @@ nsFrameManager::ComputeStyleChangeFor(nsIFrame *aFrame,
|
|||
RestyleTracker& aRestyleTracker,
|
||||
bool aRestyleDescendants)
|
||||
{
|
||||
SAMPLE_LABEL("CSS", "ComputeStyleChangeFor");
|
||||
|
||||
nsIContent *content = aFrame->GetContent();
|
||||
if (aMinChange) {
|
||||
aChangeList->AppendChange(aFrame, content, aMinChange);
|
||||
|
|
Загрузка…
Ссылка в новой задаче