diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-05 04:11:13 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-05 04:11:13 +0000 |
commit | 7706e5e3598efb51d021a64f34f2c2d3e390be6f (patch) | |
tree | 0f39b8c6076c80ed0efe9a0a71fcaed3ebdd1ab9 /gpu/gpu_plugin | |
parent | 9561ea774cff1ee6542d699d09099423d5c518be (diff) | |
download | chromium_src-7706e5e3598efb51d021a64f34f2c2d3e390be6f.zip chromium_src-7706e5e3598efb51d021a64f34f2c2d3e390be6f.tar.gz chromium_src-7706e5e3598efb51d021a64f34f2c2d3e390be6f.tar.bz2 |
Revert 35509 - linux: implement gpu plugin
Review URL: http://codereview.chromium.org/500132
TBR=piman@chromium.org
Review URL: http://codereview.chromium.org/525022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu_plugin')
-rw-r--r-- | gpu/gpu_plugin/gpu_plugin.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gpu/gpu_plugin/gpu_plugin.cc b/gpu/gpu_plugin/gpu_plugin.cc index dc69e61..10df734 100644 --- a/gpu/gpu_plugin/gpu_plugin.cc +++ b/gpu/gpu_plugin/gpu_plugin.cc @@ -38,13 +38,8 @@ int16 NPP_HandleEvent(NPP instance, void* event) { 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) { |