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

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

Issue 39105: Windowless plugins: basic drawing works. (Closed)
Patch Set: retry Created 11 years, 10 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
Index: webkit/glue/plugins/plugin_host.cc
diff --git a/webkit/glue/plugins/plugin_host.cc b/webkit/glue/plugins/plugin_host.cc
index 2cc2933055ca38b0252aed48500077402eddc791..8338b2a1a2bb2a18e3f53751f513952fd5d8985a 100644
--- a/webkit/glue/plugins/plugin_host.cc
+++ b/webkit/glue/plugins/plugin_host.cc
@@ -777,14 +777,7 @@ NPError NPN_GetValue(NPP id, NPNVariable variable, void *value) {
case NPNVSupportsWindowless:
{
NPBool* supports_windowless = reinterpret_cast<NPBool*>(value);
-#if defined(OS_LINUX)
- // TODO(deanm): Remove me once windowless plugins work on Linux. Right now
- // it's better to tell the plugin we don't support windowless, then have it
- // try and fail.
- *supports_windowless = FALSE;
-#else
*supports_windowless = TRUE;
-#endif
rv = NPERR_NO_ERROR;
break;
}

Powered by Google App Engine
This is Rietveld 408576698