| Index: chrome/renderer/render_view.cc
|
| ===================================================================
|
| --- chrome/renderer/render_view.cc (revision 36261)
|
| +++ chrome/renderer/render_view.cc (working copy)
|
| @@ -2695,7 +2695,7 @@
|
| }
|
| }
|
| if (in_process_plugin) {
|
| -#if defined(OS_WIN) // In-proc plugins aren't supported on Linux or Mac.
|
| +#if defined(OS_WIN) // In-proc plugins aren't supported on Linux.
|
| if (use_pepper_host) {
|
| return WebPluginDelegatePepper::Create(
|
| path,
|
| @@ -2706,6 +2706,17 @@
|
| return WebPluginDelegateImpl::Create(
|
| path, *mime_type_to_use, gfx::NativeViewFromId(host_window_));
|
| }
|
| +#elif defined(OS_MACOSX)
|
| + if (use_pepper_host) {
|
| + return WebPluginDelegatePepper::Create(
|
| + path,
|
| + *mime_type_to_use,
|
| + AsWeakPtr(),
|
| + host_window_);
|
| + } else {
|
| + NOTIMPLEMENTED();
|
| + return NULL;
|
| + }
|
| #else
|
| NOTIMPLEMENTED();
|
| return NULL;
|
|
|