Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1921)

Side by Side Diff: cc/paint/paint_flags.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_PAINT_PAINT_FLAGS_H_
6 #define CC_PAINT_PAINT_FLAGS_H_
7
8 #include "third_party/skia/include/core/SkPaint.h"
9
10 namespace cc {
11 typedef SkPaint PaintFlags;
vmpstr 2017/01/21 01:11:31 nit: using
12
13 inline const SkPaint& ToSkPaint(const PaintFlags& paint) {
vmpstr 2017/01/21 01:11:31 I like these functions, thanks!
14 return paint;
15 }
16
17 } // namespace cc
18
19 #endif // CC_PAINT_PAINT_FLAGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698