Index: cc/test/layer_tree_test.cc |
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc |
index 96c4b7b09c3487d88a87c2d543c04fa30a398615..d04373b881734e68bfdcdb8c17af676fa8784e42 100644 |
--- a/cc/test/layer_tree_test.cc |
+++ b/cc/test/layer_tree_test.cc |
@@ -9,6 +9,7 @@ |
#include "cc/animation/animation_registrar.h" |
#include "cc/animation/layer_animation_controller.h" |
#include "cc/animation/timing_function.h" |
+#include "cc/base/switches.h" |
#include "cc/base/thread_impl.h" |
#include "cc/input/input_handler.h" |
#include "cc/layers/content_layer.h" |
@@ -313,7 +314,7 @@ LayerTreeTest::LayerTreeTest() |
// Tests should timeout quickly unless --cc-layer-tree-test-no-timeout was |
// specified (for running in a debugger). |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- if (!command_line->HasSwitch("cc-layer-tree-test-no-timeout")) |
+ if (!command_line->HasSwitch(switches::kCCLayerTreeTestNoTimeout)) |
timeout_seconds_ = 5; |
} |
@@ -543,7 +544,7 @@ void LayerTreeTest::DispatchComposite() { |
void LayerTreeTest::RunTest(bool threaded) { |
if (threaded) { |
- impl_thread_.reset(new base::Thread("LayerTreeTest")); |
+ impl_thread_.reset(new base::Thread("Compositor")); |
ASSERT_TRUE(impl_thread_->Start()); |
} |