Bug 1543315 - part 2: Mark VerifyIncrementalReflow() and DoVerifyReflow() as MOZ_CAN_RUN_SCRIPT_BOUNDARY r=smaug

They are debug build only methods.  So, callers of them shouldn't be marked
as `MOZ_CAN_RUN_SCRIPT` only for them.  Therefore, `MOZ_CAN_RUN_SCRIPT_BOUNDARY`
must be better.

Differential Revision: https://phabricator.services.mozilla.com/D27218

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Masayuki Nakano 2019-04-13 12:38:20 +00:00
Родитель ff25e09e4a
Коммит 0479f528e7
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1774,8 +1774,8 @@ class nsIPresShell : public nsStubDocumentObserver {
FrameMetrics::ScrollOffsetUpdateType aUpdateType);
#ifdef DEBUG
bool VerifyIncrementalReflow();
void DoVerifyReflow();
MOZ_CAN_RUN_SCRIPT_BOUNDARY bool VerifyIncrementalReflow();
MOZ_CAN_RUN_SCRIPT_BOUNDARY void DoVerifyReflow();
void VerifyHasDirtyRootAncestor(nsIFrame* aFrame);
void ShowEventTargetDebug();