Index: gpu/gpu_plugin/gpu_plugin.cc |
=================================================================== |
--- gpu/gpu_plugin/gpu_plugin.cc (revision 35510) |
+++ gpu/gpu_plugin/gpu_plugin.cc (working copy) |
@@ -38,13 +38,8 @@ |
NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) { |
if (!instance) |
return NPERR_INVALID_INSTANCE_ERROR; |
- switch (variable) { |
- case NPPVpluginNeedsXEmbed: |
- *static_cast<NPBool *>(value) = 1; |
- return NPERR_NO_ERROR; |
- default: |
- return NPERR_INVALID_PARAM; |
- } |
+ |
+ return NPERR_GENERIC_ERROR; |
} |
NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) { |