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

Side by Side Diff: tools/debugger/SkOverdrawMode.h

Issue 1832223002: switch xfermodes over to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 8 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 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkOverdrawMode_DEFINED 8 #ifndef SkOverdrawMode_DEFINED
9 #define SkOverdrawMode_DEFINED 9 #define SkOverdrawMode_DEFINED
10 10
11 #include "SkFlattenable.h" 11 #include "SkFlattenable.h"
12 12
13 class SkXfermode; 13 class SkXfermode;
14 14
15 class SkOverdrawMode { 15 class SkOverdrawMode {
16 public: 16 public:
17 static SkXfermode* Create(); 17 static sk_sp<SkXfermode> Make();
18 18
19 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP(); 19 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();
20 20
21 private: 21 private:
22 SkOverdrawMode(); // can't be instantiated 22 SkOverdrawMode(); // can't be instantiated
23 }; 23 };
24 24
25 #endif 25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698