1/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#include "include/core/SkBBHFactory.h"
9#include "src/core/SkRTree.h"
10
11sk_sp<SkBBoxHierarchy> SkRTreeFactory::operator()() const {
12 return sk_make_sp<SkRTree>();
13}
14
15void SkBBoxHierarchy::insert(const SkRect rects[], const Metadata[], int N) {
16 // Ignore Metadata.
17 this->insert(rects, N);
18}
19