diff options
author | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-10 08:36:50 +0000 |
---|---|---|
committer | etienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-10 08:36:50 +0000 |
commit | 010ff507eba5586ad538b004484f999ab2202b3a (patch) | |
tree | 4d34980fbbe0b59e175f56053c760ce3e5e0af15 /extensions | |
parent | 6a06a01fd9141ffea60e2fdd3c4415c1a1ba4ec2 (diff) | |
download | chromium_src-010ff507eba5586ad538b004484f999ab2202b3a.zip chromium_src-010ff507eba5586ad538b004484f999ab2202b3a.tar.gz chromium_src-010ff507eba5586ad538b004484f999ab2202b3a.tar.bz2 |
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
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/browser/extension_error.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/browser/extension_error.cc b/extensions/browser/extension_error.cc index ce1d84e..071dbc2 100644 --- a/extensions/browser/extension_error.cc +++ b/extensions/browser/extension_error.cc @@ -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]); |