| Index: tools/telemetry/telemetry/core/platform/profiler/win_pgo_profiler.py
|
| diff --git a/tools/telemetry/telemetry/core/platform/profiler/win_pgo_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/win_pgo_profiler.py
|
| index 693191504723dc48a4aeec6fcad9a11633bd2a1a..05e8c5f1c385a9bc3db1c5c6eed494d4f1d5d143 100644
|
| --- a/tools/telemetry/telemetry/core/platform/profiler/win_pgo_profiler.py
|
| +++ b/tools/telemetry/telemetry/core/platform/profiler/win_pgo_profiler.py
|
| @@ -47,7 +47,7 @@ class WinPGOProfiler(profiler.Profiler):
|
| pgc_files = glob.glob(os.path.join(self._browser_dir,
|
| '%s!*.pgc' % dll_name))
|
| for pgc_file in pgc_files:
|
| - max(max_index,
|
| + max_index = max(max_index,
|
| int(os.path.splitext(os.path.split(pgc_file)[1])[0].split('!')[1]))
|
| return max_index + 1
|
|
|
|
|