Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5421)

Unified Diff: chrome_frame/test/navigation_test.cc

Issue 8361011: Tweak PathProviderPosix's FILE_EXE and FILE_MODULE handling on FreeBSD. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/test/navigation_test.cc
diff --git a/chrome_frame/test/navigation_test.cc b/chrome_frame/test/navigation_test.cc
index d6e750fd107d0af5c68660c315b642d618a72fdc..16d4090898e6c1f77540e7e7ed1d1b75c932d19b 100644
--- a/chrome_frame/test/navigation_test.cc
+++ b/chrome_frame/test/navigation_test.cc
@@ -560,7 +560,7 @@ TEST_P(NavigationTransitionTest, FollowLink) {
// gMock matcher which tests if a url is blank.
MATCHER(BlankUrl, "is \"\" or NULL") {
- return arg == NULL || wcslen(arg) == 0;
+ return arg == NULL || *arg == L'\0';
}
// Basic navigation test fixture which uses the MockIEEventSink. These tests

Powered by Google App Engine
This is Rietveld 408576698