| Index: google_apis/drive/time_util.cc
|
| diff --git a/google_apis/drive/time_util.cc b/google_apis/drive/time_util.cc
|
| index cf2b453d38c78708b67a99b2db7c5a858c26c5aa..5a559cc08fed7f726b4baae3bae1d336709e68ef 100644
|
| --- a/google_apis/drive/time_util.cc
|
| +++ b/google_apis/drive/time_util.cc
|
| @@ -64,7 +64,7 @@ bool GetTimeFromString(const base::StringPiece& raw_value,
|
| // Parses timezone suffix on the time part if available.
|
| {
|
| std::vector<base::StringPiece> parts;
|
| - if (time_and_tz[time_and_tz.size() - 1] == 'Z') {
|
| + if (time_and_tz.back() == 'Z') {
|
| // Timezone is 'Z' (UTC)
|
| has_timezone = true;
|
| offset_to_utc_in_minutes = 0;
|
|
|