Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 UI_GFX_PATH_MAC_H_ | |
| 6 #define UI_GFX_PATH_MAC_H_ | |
| 7 | |
| 8 #include "ui/gfx/gfx_export.h" | |
| 9 | |
| 10 @class NSBezierPath; | |
| 11 class SkPath; | |
| 12 | |
| 13 namespace gfx { | |
| 14 | |
| 15 // Returns the NSBezierPath corresponding to |path|. | |
|
msw
2016/02/11 23:57:37
nit: document ownership (or need to CFRelease, or
karandeepb
2016/02/12 03:45:51
Done. Have documented that this returns an autorel
msw
2016/02/12 19:26:55
I'm not familiar with this convention, but I'll tr
| |
| 16 GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path); | |
| 17 | |
| 18 } // namespace gfx | |
| 19 | |
| 20 #endif // UI_GFX_PATH_MAC_H_ | |
| OLD | NEW |