Chromium Code Reviews| Index: ui/gfx/path_mac.h |
| diff --git a/ui/gfx/path_mac.h b/ui/gfx/path_mac.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8c050056013d1d27238c93ba29aae65e591cfa7f |
| --- /dev/null |
| +++ b/ui/gfx/path_mac.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_GFX_PATH_MAC_H_ |
| +#define UI_GFX_PATH_MAC_H_ |
| + |
| +#include "ui/gfx/gfx_export.h" |
| + |
| +@class NSBezierPath; |
| +class SkPath; |
| + |
| +namespace gfx { |
| + |
| +// 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
|
| +GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path); |
| + |
| +} // namespace gfx |
| + |
| +#endif // UI_GFX_PATH_MAC_H_ |