Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1331)

Unified Diff: webkit/glue/plugins/npapi_extension_thunk.cc

Issue 481001: Re-enable the build of Pepper support by default (issue 464074, svn revision ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/npapi_extension_thunk.cc
===================================================================
--- webkit/glue/plugins/npapi_extension_thunk.cc (revision 34162)
+++ webkit/glue/plugins/npapi_extension_thunk.cc (working copy)
@@ -9,9 +9,7 @@
#include "webkit/glue/plugins/plugin_instance.h"
#include "webkit/glue/webplugin.h"
#include "webkit/glue/webplugin_delegate.h"
-//#include "third_party/npapi/bindings/npruntime.h"
-#if defined(ENABLE_PEPPER)
// FindInstance()
// Finds a PluginInstance from an NPP.
@@ -245,18 +243,3 @@
}
} // namespace NPAPI
-
-#else // Not compiling with pepper support
-
-namespace NPAPI {
-
-// This NOP function implements the getter for the extensions when the
-// extensions aren't available.
-NPError GetPepperExtensionsFunctions(void* value) {
- return NPERR_GENERIC_ERROR;
-}
-
-} // namespace NPAPI
-
-#endif // defined(ENABLE_PEPPER)
-
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/plugins/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698