| Index: ui/compositor/test/in_process_context_factory.cc
|
| diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc
|
| index fbc4c813cc0eee2536ebce2ed57f2ef73788d7cd..f680e991991c8f80bc61ed975c30bab6a82b3831 100644
|
| --- a/ui/compositor/test/in_process_context_factory.cc
|
| +++ b/ui/compositor/test/in_process_context_factory.cc
|
| @@ -20,7 +20,10 @@ namespace ui {
|
|
|
| InProcessContextFactory::InProcessContextFactory()
|
| : shared_bitmap_manager_(new cc::TestSharedBitmapManager()) {
|
| - DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone);
|
| + DCHECK_NE(gfx::GetGLImplementation(), gfx::kGLImplementationNone)
|
| + << "If running tests, ensure that main() is calling "
|
| + << "gfx::GLSurface::InitializeOneOffForTests()";
|
| +
|
| #if defined(OS_CHROMEOS)
|
| bool use_thread = !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kUIDisableThreadedCompositing);
|
|
|