summaryrefslogtreecommitdiffstats
path: root/ui/gfx/mac
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/mac')
-rw-r--r--ui/gfx/mac/nsimage_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gfx/mac/nsimage_cache.h b/ui/gfx/mac/nsimage_cache.h
index 83179d2..f89a230 100644
--- a/ui/gfx/mac/nsimage_cache.h
+++ b/ui/gfx/mac/nsimage_cache.h
@@ -6,6 +6,8 @@
#define UI_GFX_MAC_NSIMAGE_CACHE_H_
#pragma once
+#include "ui/ui_api.h"
+
#ifdef __OBJC__
@class NSImage;
@class NSString;
@@ -23,7 +25,7 @@ namespace gfx {
// - This should only be called on the main thread.
// - The caller should retain the image if they want to keep it around, as
// the cache could have limit on size/lifetime, etc.
-NSImage* GetCachedImageWithName(NSString* name);
+UI_API NSImage* GetCachedImageWithName(NSString* name);
// Clears the image cache.
void ClearCachedImages(void);