Index: chrome/test/url_fetch_test/url_fetch_test.cc |
diff --git a/chrome/test/url_fetch_test/url_fetch_test.cc b/chrome/test/url_fetch_test/url_fetch_test.cc |
index 5f1607c212c51ad687ba5088e49f1abde6ea6880..d9f028bdbd34f8f07d4e6abc1fe1a68c123b245c 100644 |
--- a/chrome/test/url_fetch_test/url_fetch_test.cc |
+++ b/chrome/test/url_fetch_test/url_fetch_test.cc |
@@ -177,13 +177,13 @@ TEST_F(UrlFetchTest, UrlFetch) { |
// Write out the cookie if requested |
FilePath cookie_output_path = |
cmd_line->GetSwitchValuePath("wait_cookie_output"); |
- if (cookie_output_path.value().size() > 0) { |
+ if (!cookie_output_path.value().empty()) { |
ASSERT_TRUE(WriteValueToFile(result.cookie_value, cookie_output_path)); |
} |
// Write out the JS Variable if requested |
FilePath jsvar_output_path = cmd_line->GetSwitchValuePath("jsvar_output"); |
- if (jsvar_output_path.value().size() > 0) { |
+ if (!jsvar_output_path.value().empty()) { |
ASSERT_TRUE(WriteValueToFile(result.javascript_variable, |
jsvar_output_path)); |
} |