| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TextBlob_h | 5 #ifndef SKY_ENGINE_PLATFORM_FONTS_TEXTBLOB_H_ |
| 6 #define TextBlob_h | 6 #define SKY_ENGINE_PLATFORM_FONTS_TEXTBLOB_H_ |
| 7 | 7 |
| 8 #include "sky/engine/wtf/PassRefPtr.h" | 8 #include "sky/engine/wtf/PassRefPtr.h" |
| 9 #include "sky/engine/wtf/RefPtr.h" | 9 #include "sky/engine/wtf/RefPtr.h" |
| 10 #include "third_party/skia/include/core/SkTextBlob.h" | 10 #include "third_party/skia/include/core/SkTextBlob.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 // Holds a (mutable) reference to an immutable SkTextBlob. | 14 // Holds a (mutable) reference to an immutable SkTextBlob. |
| 15 // Typedefs are used only to insulate core/ from Skia type names. | 15 // Typedefs are used only to insulate core/ from Skia type names. |
| 16 typedef RefPtr<const SkTextBlob> TextBlobPtr; | 16 typedef RefPtr<const SkTextBlob> TextBlobPtr; |
| 17 typedef PassRefPtr<const SkTextBlob> PassTextBlobPtr; | 17 typedef PassRefPtr<const SkTextBlob> PassTextBlobPtr; |
| 18 | 18 |
| 19 } // namespace blink | 19 } // namespace blink |
| 20 | 20 |
| 21 #endif // TextBlob_h | 21 #endif // SKY_ENGINE_PLATFORM_FONTS_TEXTBLOB_H_ |
| OLD | NEW |