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

Unified Diff: webkit/glue/webplugin_impl.cc

Issue 100118: plugins: Some obvious ifdef removals (code that previously wouldn't link). (Closed)
Patch Set: better patch Created 11 years, 8 months 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webplugin_impl.cc
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc
index de428a34df4f9599d775cb8aa543604ece3f1a20..c1e63af8b287d5e053f987b67e1d66de70e4c180 100644
--- a/webkit/glue/webplugin_impl.cc
+++ b/webkit/glue/webplugin_impl.cc
@@ -415,13 +415,7 @@ bool WebPluginImpl::SetPostData(WebCore::ResourceRequest* request,
std::vector<std::string> names;
std::vector<std::string> values;
std::vector<char> body;
-#if !defined(OS_LINUX)
bool rv = NPAPI::PluginHost::SetPostData(buf, length, &names, &values, &body);
-#else
- // TODO(port): unstub once we have plugin support
- bool rv = false;
- NOTREACHED();
-#endif
for (size_t i = 0; i < names.size(); ++i)
request->addHTTPHeaderField(webkit_glue::StdStringToString(names[i]),
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698