Skip to content

Commit

Permalink
Remove redundant parentheses
Browse files Browse the repository at this point in the history
Bug: 851163
Change-Id: Id21482d92a93c79097caae6f9de8bbc5d524dde0
Reviewed-on: https://chromium-review.googlesource.com/1123074
Reviewed-by: Mike Wittman <wittman@chromium.org>
Commit-Queue: Xi Cheng <chengx@chromium.org>
Cr-Commit-Position: refs/heads/master@{#571998}
  • Loading branch information
Xi Cheng authored and Commit Bot committed Jul 2, 2018
1 parent e91e65d commit 076119d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/profiler/stack_sampling_profiler_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ Frames::const_iterator FindFirstFrameWithinFunction(
uintptr_t function_end =
reinterpret_cast<uintptr_t>(target_function(nullptr, nullptr, nullptr));
for (auto it = sample.frames.begin(); it != sample.frames.end(); ++it) {
if ((it->instruction_pointer >= function_start) &&
(it->instruction_pointer <= function_end)) {
if (it->instruction_pointer >= function_start &&
it->instruction_pointer <= function_end) {
return it;
}
}
Expand Down

0 comments on commit 076119d

Please sign in to comment.