| Index: webkit/glue/plugins/plugin_lib.cc
|
| diff --git a/webkit/glue/plugins/plugin_lib.cc b/webkit/glue/plugins/plugin_lib.cc
|
| index d63045afaa9abce6ee6ab63c02aea5d221ce7b17..525012fd9bc45d0f973b4b6d961815fd0f35a320 100644
|
| --- a/webkit/glue/plugins/plugin_lib.cc
|
| +++ b/webkit/glue/plugins/plugin_lib.cc
|
| @@ -173,6 +173,13 @@ bool PluginLib::Load() {
|
| if (library == 0)
|
| return rv;
|
|
|
| +#if defined(OS_MACOSX)
|
| + // According to the WebKit source, QuickTime at least requires us to call
|
| + // UseResFile on the plugin resources before loading.
|
| + if (library->bundle_resource_ref != -1)
|
| + UseResFile(library->bundle_resource_ref);
|
| +#endif
|
| +
|
| rv = true; // assume success now
|
|
|
| entry_points_.np_initialize =
|
|
|