Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / platform / fonts / TextBlob.h
blobd032fdccb02dfa2c3f8e64f4986c11ca1898e568
1 // Copyright 2014 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 TextBlob_h
6 #define TextBlob_h
8 #include "third_party/skia/include/core/SkTextBlob.h"
9 #include "wtf/PassRefPtr.h"
10 #include "wtf/RefPtr.h"
12 namespace blink {
14 // Holds a (mutable) reference to an immutable SkTextBlob.
15 // Typedefs are used only to insulate core/ from Skia type names.
16 typedef RefPtr<const SkTextBlob> TextBlobPtr;
17 typedef PassRefPtr<const SkTextBlob> PassTextBlobPtr;
19 } // namespace blink
21 #endif // TextBlob_h