Skip to content

Commit

Permalink
Fix log error with GURL migration for PartnerBookmarks
Browse files Browse the repository at this point in the history
Noticed in a logcat:
08-16 21:34:50.594118 16205 16226 W cr_PartnerCustomize: Partner homepage must be HTTP(S) or NewTabPage. Got invalid URL "org.chromium.url.GURL@0"

Change-Id: Ied8003b58e5f2585e32fb38f90748deac7a9fc2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3842454
Auto-Submit: Yaron Friedman <yfriedman@chromium.org>
Commit-Queue: Peilin Wang <peilinwang@google.com>
Reviewed-by: Peilin Wang <peilinwang@google.com>
Cr-Commit-Position: refs/heads/main@{#1037802}
  • Loading branch information
yfriedman authored and Chromium LUCI CQ committed Aug 22, 2022
1 parent 0d46512 commit 944df07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ static boolean isValidHomepage(GURL url) {
Log.w(TAG,
"Partner homepage must be HTTP(S) or NewTabPage. "
+ "Got invalid URL \"%s\"",
url);
url.getPossiblyInvalidSpec());
return false;
}
if (url.getSpec().length() > HOMEPAGE_URL_MAX_LENGTH) {
Expand Down

0 comments on commit 944df07

Please sign in to comment.