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

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

Issue 2678903003: cc: Clean up naming of paint-related identifiers (Closed)
Patch Set: Created 3 years, 10 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698