Index: content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
index 5e6d887f3d62cd10b01549c86c730ba78e1a7705..4fc2ae80335d0468bcba072bbb9695b20f677652 100644 |
--- a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
@@ -247,6 +247,11 @@ class BrowserPluginHostTest : public ContentBrowserTest { |
content::BrowserPluginGuestManager::set_factory_for_testing( |
TestBrowserPluginHostFactory::GetInstance()); |
+ // On legacy windows, the AcceptDragEvents test needs this to pass. |
+#if defined(OS_WIN) && !defined(USE_AURA) |
+ UseRealGLBindings(); |
+#endif |
+ |
ContentBrowserTest::SetUp(); |
} |
virtual void TearDown() OVERRIDE { |