WebKit merge 73487:73496.
[chromium-blink-merge.git] / gfx / canvas_skia_paint.h
blob56c6d83f334088028f7e7bb813c86124d90267e3
1 // Copyright (c) 2009 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.
5 #ifndef GFX_CANVAS_SKIA_PAINT_H_
6 #define GFX_CANVAS_SKIA_PAINT_H_
7 #pragma once
9 #include "gfx/canvas_skia.h"
10 #include "skia/ext/canvas_paint.h"
12 // Define a gfx::CanvasSkiaPaint type that wraps our gfx::Canvas like the
13 // skia::PlatformCanvasPaint wraps PlatformCanvas.
15 namespace gfx {
17 typedef skia::CanvasPaintT<CanvasSkia> CanvasSkiaPaint;
19 } // namespace gfx
21 #endif // GFX_CANVAS_SKIA_PAINT_H_