summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 10:04:32 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 10:04:32 +0000
commit8b99e93fe8840dd00a92e0dc46d6790484c9d6b9 (patch)
tree3c61185950c5bd382d5d9f3005091f49d5148524 /chrome/test/ui
parent43e451f365f211a0fc45e71ea9eb90a5dac1c132 (diff)
downloadchromium_src-8b99e93fe8840dd00a92e0dc46d6790484c9d6b9.zip
chromium_src-8b99e93fe8840dd00a92e0dc46d6790484c9d6b9.tar.gz
chromium_src-8b99e93fe8840dd00a92e0dc46d6790484c9d6b9.tar.bz2
fix build bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui')
-rw-r--r--chrome/test/ui/run_all_unittests.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/test/ui/run_all_unittests.cc b/chrome/test/ui/run_all_unittests.cc
index 8d1307772..b9f7c47 100644
--- a/chrome/test/ui/run_all_unittests.cc
+++ b/chrome/test/ui/run_all_unittests.cc
@@ -28,6 +28,7 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "base/at_exit.h"
+#include "base/platform_thread.h"
#include "chrome/test/ui/ui_test_suite.h"
int main(int argc, char **argv) {
@@ -35,6 +36,6 @@ int main(int argc, char **argv) {
// the AtExitManager or else we will leak objects.
base::AtExitManager at_exit_manager;
- Thread::SetThreadName("Tests_Main", GetCurrentThreadId());
+ PlatformThread::SetName(PlatformThread::CurrentId(), "Tests_Main");
return UITestSuite(argc, argv).Run();
}