зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1382017: followup: fix alignment of macro definitions. r=whitespace-only
MozReview-Commit-ID: KdgQaPukU5z
This commit is contained in:
Родитель
0025a7dbd3
Коммит
ed9d1ad184
|
@ -58,7 +58,7 @@ nsStyleContext::Style##name_() { \
|
|||
const nsStyle##name_ * \
|
||||
nsStyleContext::ThreadsafeStyle##name_() { \
|
||||
if (mozilla::ServoStyleSet::IsInServoTraversal()) { \
|
||||
return AsServo()->ComputedData()->GetStyle##name_(); \
|
||||
return AsServo()->ComputedData()->GetStyle##name_(); \
|
||||
} \
|
||||
return Style##name_(); \
|
||||
} \
|
||||
|
@ -131,7 +131,7 @@ const nsStyle##name_ * nsStyleContext::DoGetStyle##name_() { \
|
|||
} \
|
||||
\
|
||||
const nsStyle##name_* data = \
|
||||
servo->ComputedData()->GetStyle##name_(); \
|
||||
servo->ComputedData()->GetStyle##name_(); \
|
||||
/* perform any remaining main thread work on the struct */ \
|
||||
if (needToCompute) { \
|
||||
MOZ_ASSERT(NS_IsMainThread()); \
|
||||
|
@ -164,7 +164,7 @@ const nsStyle##name_ * nsStyleContext::DoGetStyle##name_() { \
|
|||
return nullptr; \
|
||||
} \
|
||||
const nsStyle##name_* data = \
|
||||
servo->ComputedData()->GetStyle##name_(); \
|
||||
servo->ComputedData()->GetStyle##name_(); \
|
||||
/* perform any remaining main thread work on the struct */ \
|
||||
if (needToCompute) { \
|
||||
const_cast<nsStyle##name_*>(data)->FinishStyle(PresContext()); \
|
||||
|
|
Загрузка…
Ссылка в новой задаче