summaryrefslogtreecommitdiffstats
path: root/skia/ext/canvas_paint_common.h
blob: 6eed3f4a5899417261a6258df925eb53bf882b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2011 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.

#ifndef SKIA_EXT_CANVAS_PAINT_COMMON_H_
#define SKIA_EXT_CANVAS_PAINT_COMMON_H_
#pragma once

namespace skia {
class PlatformCanvas;

template<class T> inline PlatformCanvas* GetPlatformCanvas(T* t) {
  return t;
}

}  // namespace skia

#endif  // SKIA_EXT_CANVAS_PAINT_COMMON_H_