FetchAsGoogleClient: adapt to changes in GoogleLogin

Bug: 279338486
Test: N/A
Change-Id: Iec4957eb746bff778d821965a4c440eee4842315
diff --git a/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java b/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java
index a16f0e8..80c5c33 100644
--- a/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java
+++ b/src/com/google/appindexing/fetchasgoogle/FetchAsGoogleClient.java
@@ -80,7 +80,7 @@
     CredentialedUser user = GoogleLogin.getInstance().getActiveUser();
     if (user != null) {
       return new FetchasgooglePa.Builder(httpTransport, jsonFactory,
-                                         new FetchAsGoogleHttpRequestInitializer(user.getCredential()))
+                                         new FetchAsGoogleHttpRequestInitializer(user.credential))
         .setServicePath(SERVER_PATH).setRootUrl(ROOT_URL).setApplicationName(APPLICATION_NAME).build();
     }
     return null;