Commit 010ff507 authored by etienneb@chromium.org's avatar etienneb@chromium.org

Fix comparison in an equal comparator.

This issue was found by a linter.

R=rdevlin.cronin@chromium.org, yoz@chromium.org

BUG=

Review URL: https://chromiumcodereview.appspot.com/23503045

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222213 0039d316-1c4b-4281-b951-d872f2087c98
parent 6a06a01f
......@@ -195,8 +195,8 @@ bool RuntimeError::IsEqualImpl(const ExtensionError* rhs) const {
// Only look at the first frame of a stack trace to save time and group
// nearly-identical errors. The most recent error is kept, so there's no risk
// of displaying an old and inaccurate stack trace.
return level_ == level_ &&
source_ == source_ &&
return level_ == error->level_ &&
source_ == error->source_ &&
context_url_ == error->context_url_ &&
stack_trace_.size() == error->stack_trace_.size() &&
(stack_trace_.empty() || stack_trace_[0] == error->stack_trace_[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment