Index: base/profiler/stack_sampling_profiler_unittest.cc |
diff --git a/base/profiler/stack_sampling_profiler_unittest.cc b/base/profiler/stack_sampling_profiler_unittest.cc |
index 16205ac2b09f22e25975cda252c8306ba6eb918a..0b300d575d73c76f65a6afd7e53a372020a844a3 100644 |
--- a/base/profiler/stack_sampling_profiler_unittest.cc |
+++ b/base/profiler/stack_sampling_profiler_unittest.cc |
@@ -547,7 +547,7 @@ void TestLibraryUnload(bool wait_until_unloaded) { |
// the same stack as |wait_until_unloaded|, if not we should have the full |
// stack. The important thing is that we should not crash. |
- if ((sample.frames.end() - 1) - end_frame == 2) { |
+ if (sample.frames.end() - end_frame == 2) { |
// This is the same case as |wait_until_unloaded|. |
return; |
} |