#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_DOM_SLOT_ASSIGNMENT_RECALC_FORBIDDEN_SCOPE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_DOM_SLOT_ASSIGNMENT_RECALC_FORBIDDEN_SCOPE_H_
#include "base/dcheck_is_on.h"
#include "third_party/blink/renderer/core/dom/document.h"
namespace blink {
#if DCHECK_IS_ON()
class SlotAssignmentRecalcForbiddenScope { … };
#else
class SlotAssignmentRecalcForbiddenScope {
STACK_ALLOCATED();
public:
explicit SlotAssignmentRecalcForbiddenScope(Document&) {}
SlotAssignmentRecalcForbiddenScope(
const SlotAssignmentRecalcForbiddenScope&) = delete;
SlotAssignmentRecalcForbiddenScope& operator=(
const SlotAssignmentRecalcForbiddenScope&) = delete;
};
#endif
}
#endif