Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: base/profiler/stack_sampling_profiler_unittest.cc

Issue 2698363002: Adjust a test expectation in the stack sampler unit test. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698