1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #include "public/platform/WebDisplayItemClipTree.h"
8 #include "platform/graphics/paint/DisplayItemClipTree.h"
12 WebDisplayItemClipTree::WebDisplayItemClipTree()
16 WebDisplayItemClipTree::WebDisplayItemClipTree(const PassOwnPtr
<DisplayItemClipTree
>& passImpl
)
21 WebDisplayItemClipTree::~WebDisplayItemClipTree()
23 // WebPrivateOwnPtr requires explicit clearing here.
24 m_private
.reset(nullptr);
27 size_t WebDisplayItemClipTree::nodeCount() const
29 return m_private
->nodeCount();
32 const WebDisplayItemClipTree::ClipNode
& WebDisplayItemClipTree::nodeAt(size_t index
) const
34 return m_private
->nodeAt(index
);