| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 CC_PAINT_PAINT_FLAGS_H_ | 5 #ifndef CC_PAINT_PAINT_FLAGS_H_ |
| 6 #define CC_PAINT_PAINT_FLAGS_H_ | 6 #define CC_PAINT_PAINT_FLAGS_H_ |
| 7 | 7 |
| 8 #include "third_party/skia/include/core/SkPaint.h" | 8 #include "third_party/skia/include/core/SkPaint.h" |
| 9 | 9 |
| 10 namespace cc { | 10 namespace cc { |
| 11 | 11 |
| 12 using PaintFlags = SkPaint; | 12 using PaintFlags = SkPaint; |
| 13 | 13 |
| 14 inline const SkPaint& ToSkPaint(const PaintFlags& paint) { | 14 inline const SkPaint& ToSkPaint(const PaintFlags& flags) { |
| 15 return paint; | 15 return flags; |
| 16 } | 16 } |
| 17 | 17 |
| 18 } // namespace cc | 18 } // namespace cc |
| 19 | 19 |
| 20 #endif // CC_PAINT_PAINT_FLAGS_H_ | 20 #endif // CC_PAINT_PAINT_FLAGS_H_ |
| OLD | NEW |