Index: base/test/test_file_util_win.cc |
diff --git a/base/test/test_file_util_win.cc b/base/test/test_file_util_win.cc |
index fd22a636d3d9ee6289b22429d93d22653e72445c..af8bd76b48395f348345b18918984e62daf56e41 100644 |
--- a/base/test/test_file_util_win.cc |
+++ b/base/test/test_file_util_win.cc |
@@ -249,7 +249,7 @@ bool HasInternetZoneIdentifier(const FilePath& full_path) { |
switch (lines.size()) { |
case 3: |
// optional empty line at end of file: |
- if (lines[2] != "") |
+ if (!lines[2].empty()) |
return false; |
// fall through: |
case 2: |