Chromium Code Reviews| Index: webkit/plugins/npapi/plugin_host.cc |
| diff --git a/webkit/plugins/npapi/plugin_host.cc b/webkit/plugins/npapi/plugin_host.cc |
| index 73204d22520764c8ea4a9feff2d5398b44750e3c..a66d6c1b8ba16b45af609bec319f3dd8aa20a18d 100644 |
| --- a/webkit/plugins/npapi/plugin_host.cc |
| +++ b/webkit/plugins/npapi/plugin_host.cc |
| @@ -850,6 +850,11 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void* value) { |
| rv = NPERR_NO_ERROR; |
| break; |
| } |
| + case NPNVsupportsCompositingCoreAnimationPluginsBool: { |
| + NPBool* supports_compositing = reinterpret_cast<NPBool*>(value); |
| + *supports_compositing = |
| + webkit::npapi::UsingCompositedCoreAnimationPlugins(); |
|
Ken Russell (switch to Gerrit)
2011/12/05 20:22:43
Missing 'break'
Ken Russell (switch to Gerrit)
2011/12/05 20:23:33
...and assignment to 'rv'
|
| + } |
| case NPNVsupportsUpdatedCocoaTextInputBool: { |
| // We support the clarifications to the Cocoa IME event spec, but since |
| // IME currently only works on 10.6, only answer true there. |