From b8d7cc09baa2fa0364df444ddd9b5d76085a4362 Mon Sep 17 00:00:00 2001 From: "ananta@chromium.org" Date: Mon, 5 Oct 2009 21:57:05 +0000 Subject: [PATCH] Fixes a compile error due to an call to an incorrect function to get the length. TBR=tommi Review URL: http://codereview.chromium.org/246094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28052 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/test/net/fake_external_tab.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index eebd2d9b5ea7..4f6129857682 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -329,7 +329,7 @@ void CFUrlRequestUnittestRunner::InitializeLogging() { } void FilterDisabledTests() { - if (::testing::FLAGS_gtest_filter.GetLength() && + if (::testing::FLAGS_gtest_filter.length() && ::testing::FLAGS_gtest_filter.Compare("*") != 0) { // Don't override user specified filters. return; @@ -338,11 +338,11 @@ void FilterDisabledTests() { const char* disabled_tests[] = { // Tests disabled since they're testing the same functionality used // by the TestAutomationProvider. - "URLRequestTest.InterceptNetworkError", - "URLRequestTest.InterceptRestartRequired", - "URLRequestTest.InterceptRespectsCancelMain", - "URLRequestTest.InterceptRespectsCancelRedirect", - "URLRequestTest.InterceptRespectsCancelFinal", + "URLRequestTest.InterceptNetworkError", + "URLRequestTest.InterceptRestartRequired", + "URLRequestTest.InterceptRespectsCancelMain", + "URLRequestTest.InterceptRespectsCancelRedirect", + "URLRequestTest.InterceptRespectsCancelFinal", "URLRequestTest.InterceptRespectsCancelInRestart", "URLRequestTest.InterceptRedirect", "URLRequestTest.InterceptServerError",