| Index: ui/gfx/path_mac.h
|
| diff --git a/ui/gfx/path_mac.h b/ui/gfx/path_mac.h
|
| index f20fa62d7c2bca08899053f28a311b04d77dfb6d..175f61f0be03f6080b30cff67ab1379458fd1381 100644
|
| --- a/ui/gfx/path_mac.h
|
| +++ b/ui/gfx/path_mac.h
|
| @@ -5,9 +5,11 @@
|
| #ifndef UI_GFX_PATH_MAC_H_
|
| #define UI_GFX_PATH_MAC_H_
|
|
|
| +#import <Cocoa/Cocoa.h>
|
| +
|
| +#include "base/mac/scoped_cftyperef.h"
|
| #include "ui/gfx/gfx_export.h"
|
|
|
| -@class NSBezierPath;
|
| class SkPath;
|
|
|
| namespace gfx {
|
| @@ -16,6 +18,11 @@ namespace gfx {
|
| // call retain on the returned object, if it wishes to take ownership.
|
| GFX_EXPORT NSBezierPath* CreateNSBezierPathFromSkPath(const SkPath& path);
|
|
|
| +// Returns an immutable CGPath corresponding to |path|. An empty CGPath is
|
| +// returned for an empty or nil |path| value.
|
| +GFX_EXPORT base::ScopedCFTypeRef<CGPathRef> CreateCGPathFromNSBezierPath(
|
| + NSBezierPath* path);
|
| +
|
| } // namespace gfx
|
|
|
| #endif // UI_GFX_PATH_MAC_H_
|
|
|