Index: ppapi/proxy/plugin_resource.cc |
diff --git a/ppapi/proxy/plugin_resource.cc b/ppapi/proxy/plugin_resource.cc |
index b1a579ea0a078187e330b56a9161a4333a1e76a6..d535cc746f9d969cd99f1ca3ae7203f80e1e72b5 100644 |
--- a/ppapi/proxy/plugin_resource.cc |
+++ b/ppapi/proxy/plugin_resource.cc |
@@ -13,5 +13,11 @@ PluginResource::PluginResource() { |
PluginResource::~PluginResource() { |
} |
+#define DEFINE_TYPE_GETTER(RESOURCE) \ |
+ RESOURCE* PluginResource::As##RESOURCE() { return NULL; } |
+FOR_ALL_RESOURCES(DEFINE_TYPE_GETTER) |
+#undef DEFINE_TYPE_GETTER |
+ |
+ |
} // namespace proxy |
} // namespace pp |