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

Unified Diff: chrome/test/ppapi/ppapi_test.cc

Issue 120313002: Use stub GL draw/clear calls for browser tests that do not need pixels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stubgl: use_osmesa Created 6 years, 11 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/test/ppapi/ppapi_test.h ('k') | content/browser/browser_plugin/browser_plugin_host_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ppapi/ppapi_test.cc
diff --git a/chrome/test/ppapi/ppapi_test.cc b/chrome/test/ppapi/ppapi_test.cc
index b21dc9cc9c8f4c372e9b608180ca2e1f8939da94..84b00a5360d53b06f60921fea59912e2cc77a2fb 100644
--- a/chrome/test/ppapi/ppapi_test.cc
+++ b/chrome/test/ppapi/ppapi_test.cc
@@ -129,6 +129,13 @@ void PPAPITestBase::InfoBarObserver::VerifyInfoBarState() {
PPAPITestBase::PPAPITestBase() {
}
+void PPAPITestBase::SetUp() {
+ // Some of these tests require pixel output.
+ UseRealGLContexts();
+
+ InProcessBrowserTest::SetUp();
+}
+
void PPAPITestBase::SetUpCommandLine(CommandLine* command_line) {
// The test sends us the result via a cookie.
command_line->AppendSwitch(switches::kEnableFileCookies);
« no previous file with comments | « chrome/test/ppapi/ppapi_test.h ('k') | content/browser/browser_plugin/browser_plugin_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698