| Index: gpu/gpu_plugin/gpu_plugin.cc
 | 
| diff --git a/gpu/gpu_plugin/gpu_plugin.cc b/gpu/gpu_plugin/gpu_plugin.cc
 | 
| index 10df734cf7f4018a5e7c8664648bb760730c5420..dc69e618e60239c4cdb5ac4ad446a11c59990340 100644
 | 
| --- a/gpu/gpu_plugin/gpu_plugin.cc
 | 
| +++ b/gpu/gpu_plugin/gpu_plugin.cc
 | 
| @@ -38,8 +38,13 @@ int16 NPP_HandleEvent(NPP instance, void* event) {
 | 
|  NPError NPP_GetValue(NPP instance, NPPVariable variable, void *value) {
 | 
|    if (!instance)
 | 
|      return NPERR_INVALID_INSTANCE_ERROR;
 | 
| -
 | 
| -  return NPERR_GENERIC_ERROR;
 | 
| +  switch (variable) {
 | 
| +    case NPPVpluginNeedsXEmbed:
 | 
| +      *static_cast<NPBool *>(value) = 1;
 | 
| +      return NPERR_NO_ERROR;
 | 
| +    default:
 | 
| +      return NPERR_INVALID_PARAM;
 | 
| +  }
 | 
|  }
 | 
|  
 | 
|  NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) {
 | 
| 
 |