chromium/third_party/blink/renderer/core/css/style_recalc_root.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/css/style_recalc_root.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/dom/slot_assignment.h"
#include "third_party/blink/renderer/core/html/html_slot_element.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"

namespace blink {

Element& StyleRecalcRoot::RootElement() const {}

#if DCHECK_IS_ON()
ContainerNode* StyleRecalcRoot::Parent(const Node& node) const {}

bool StyleRecalcRoot::IsChildDirty(const Node& node) const {}
#endif  // DCHECK_IS_ON()

bool StyleRecalcRoot::IsDirty(const Node& node) const {}

namespace {

// Returns a pair. The first element in the pair is a boolean representing
// whether finding an ancestor succeeded. The second element in the pair is a
// pointer to the ancestor.
std::pair<bool, Element*> FirstFlatTreeAncestorForChildDirty(
    ContainerNode& parent) {}

bool IsFlatTreeConnected(const Node& root) {}

}  // namespace

void StyleRecalcRoot::SubtreeModified(ContainerNode& parent) {}

void StyleRecalcRoot::FlatTreePositionChanged(const Node& node) {}

}  // namespace blink