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

Unified Diff: tests/common/win/testing_common.cc

Issue 147129: Adding in most of the unit tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 6 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 | « tests/build.scons ('k') | utils/utils.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/common/win/testing_common.cc
===================================================================
--- tests/common/win/testing_common.cc (revision 19743)
+++ tests/common/win/testing_common.cc (working copy)
@@ -160,7 +160,8 @@
display_window = display_window;
display_window->set_hwnd(g_window_handle);
g_display_window = display_window;
- bool offscreen = ::GetEnvironmentVariableW(kOffScreenRenderer, NULL, 0);
+ bool offscreen = (::GetEnvironmentVariableW(kOffScreenRenderer,
+ NULL, 0) == 0);
if (offscreen) {
success =
g_renderer->Init(*g_display_window, true) == o3d::Renderer::SUCCESS;
« no previous file with comments | « tests/build.scons ('k') | utils/utils.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698