message: Second half of restoring the removed Formatters pointer depth.
diff: @@ -468,10 +468,31 @@ bool ValueObjectPrinter::PrintObjectDescriptionIfNeeded(bool value_printed,
  return true;
  }
  +bool DumpValueObjectOptions::PointerDepth::CanAllowExpansion(
  + bool is_root, TypeSummaryImpl *entry, ValueObject *valobj,
  + const std::string &summary) {
  + switch (m_mode) {
  + case Mode::Always:
  + return (m_count > 0);
  + case Mode::Never:
  + return false;
  + case Mode::Default:
  + if (is_root)
  + m_count = std::min<decltype(m_count)>(m_count, 1);
  + return m_count > 0;
  + case Mode::Formatters:
  + if (!entry || entry->DoesPrintChildren(valobj) || summary.empty())
  + return m_count > 0;
  + return false;
  + }
  + return false;
  +}
  +
  bool DumpValueObjectOptions::PointerDepth::CanAllowExpansion() const {
  switch (m_mode) {
  case Mode::Always:
  case Mode::Default:
  + case Mode::Formatters:
  return m_count > 0;
  case Mode::Never:
  return false;
  @@ -525,7 +546,8 @@ bool ValueObjectPrinter::ShouldPrintChildren(
  return true;
  }
  - return curr_ptr_depth.CanAllowExpansion();
  + return curr_ptr_depth.CanAllowExpansion(false, entry, m_valobj,
  + m_summary);
  }
  return (!entry || entry->DoesPrintChildren(m_valobj) || m_summary.empty());
  