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..e54346ba257032c31f79b28b5f6365e45006e1d9 100644 |
--- a/webkit/plugins/npapi/plugin_host.cc |
+++ b/webkit/plugins/npapi/plugin_host.cc |
@@ -850,6 +850,13 @@ 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(); |
+ rv = NPERR_NO_ERROR; |
+ break; |
+ } |
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. |