| Index: webkit/glue/plugins/pepper_resource.cc
|
| diff --git a/webkit/glue/plugins/pepper_resource.cc b/webkit/glue/plugins/pepper_resource.cc
|
| index 851d6e740f3d40be0bc040876e539d2698ace34e..34d6ee31af758f74640d571c594a829f9d1c9ba8 100644
|
| --- a/webkit/glue/plugins/pepper_resource.cc
|
| +++ b/webkit/glue/plugins/pepper_resource.cc
|
| @@ -34,4 +34,9 @@ void Resource::StoppedTracking() {
|
| resource_id_ = 0;
|
| }
|
|
|
| +#define DEFINE_TYPE_GETTER(RESOURCE) \
|
| + RESOURCE* Resource::As##RESOURCE() { return NULL; }
|
| +FOR_ALL_RESOURCES(DEFINE_TYPE_GETTER)
|
| +#undef DEFINE_TYPE_GETTER
|
| +
|
| } // namespace pepper
|
|
|