summaryrefslogtreecommitdiffstats
path: root/components/mus/public/cpp/lib/view_private.cc
blob: 8cee1cc8560ff4a6bb8e106580bfc7ca75b86977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/mus/public/cpp/lib/view_private.h"

namespace mus {

ViewPrivate::ViewPrivate(View* view) : view_(view) {
  CHECK(view);
}

ViewPrivate::~ViewPrivate() {}

// static
View* ViewPrivate::LocalCreate() {
  return new View;
}

}  // namespace mus