Index: gin/object_template_builder.h |
diff --git a/gin/object_template_builder.h b/gin/object_template_builder.h |
index 3103678d4b7c069e0d31356914a6b08c26a980e3..6367b71245c81dbb70b12c926811d3a63e6d0ed8 100644 |
--- a/gin/object_template_builder.h |
+++ b/gin/object_template_builder.h |
@@ -11,6 +11,7 @@ |
#include "base/template_util.h" |
#include "gin/converter.h" |
#include "gin/function_template.h" |
+#include "gin/gin_export.h" |
#include "v8/include/v8.h" |
namespace gin { |
@@ -54,7 +55,7 @@ struct CallbackTraits<T, typename base::enable_if< |
// This specialization allows people to construct function templates directly if |
// they need to do fancier stuff. |
template<> |
-struct CallbackTraits<v8::Handle<v8::FunctionTemplate> > { |
+struct GIN_EXPORT CallbackTraits<v8::Handle<v8::FunctionTemplate> > { |
static v8::Handle<v8::FunctionTemplate> CreateTemplate( |
v8::Handle<v8::FunctionTemplate> templ) { |
return templ; |
@@ -66,7 +67,7 @@ struct CallbackTraits<v8::Handle<v8::FunctionTemplate> > { |
// ObjectTemplateBuilder provides a handy interface to creating |
// v8::ObjectTemplate instances with various sorts of properties. |
-class ObjectTemplateBuilder { |
+class GIN_EXPORT ObjectTemplateBuilder { |
public: |
explicit ObjectTemplateBuilder(v8::Isolate* isolate); |
~ObjectTemplateBuilder(); |