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

Issue 8273023: Remove an unnecessary comparison in OriginIdentifierValueMap::EntryMapKey::operator< (Closed)

Created:
9 years, 2 months ago by Ryan Sleevi
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Nico
Visibility:
Public.

Description

Remove an unnecessary comparison in OriginIdentifierValueMap::EntryMapKey::operator< Originally reported by viva64 using PVS Studio ( http://www.viva64.com/en/b/0113/ Fragment N8) BUG=100213 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105763

Patch Set 1 #

Total comments: 1

Patch Set 2 : For real this time #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ryan Sleevi
jochen: PTAL. content_type is a ContentSettingsType, which is an enum defined in http://codesearch.google.com/codesearch#OAMlx_jo-ck/src/chrome/common/content_settings_types.h&l=11 Thus, no ...
9 years, 2 months ago (2011-10-13 23:10:08 UTC) #1
jochen (gone - plz use gerrit)
http://codereview.chromium.org/8273023/diff/1/chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc File chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc (left): http://codereview.chromium.org/8273023/diff/1/chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc#oldcode63 chrome/browser/content_settings/content_settings_origin_identifier_value_map.cc:63: else if (other.content_type > content_type) I think that should ...
9 years, 2 months ago (2011-10-13 23:20:46 UTC) #2
Ryan Sleevi
Wow. Totally sorry about that - I missed that it wasn't the common != return ...
9 years, 2 months ago (2011-10-13 23:23:49 UTC) #3
Ryan Sleevi
ping
9 years, 2 months ago (2011-10-17 01:11:25 UTC) #4
jochen (gone - plz use gerrit)
lgtm
9 years, 2 months ago (2011-10-17 01:14:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8273023/4001
9 years, 2 months ago (2011-10-17 01:16:49 UTC) #6
commit-bot: I haz the power
Try job failure for 8273023-4001 on mac_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=2272 Step "update" is always ...
9 years, 2 months ago (2011-10-17 01:18:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8273023/4001
9 years, 2 months ago (2011-10-17 01:18:58 UTC) #8
commit-bot: I haz the power
Try job failure for 8273023-4001 on linux_clang for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_clang&number=10620 Step "update" is always ...
9 years, 2 months ago (2011-10-17 01:20:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8273023/4001
9 years, 2 months ago (2011-10-17 01:40:32 UTC) #10
commit-bot: I haz the power
Try job failure for 8273023-4001 on linux_clang for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_clang&number=10622 Step "update" is always ...
9 years, 2 months ago (2011-10-17 01:41:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/8273023/4001
9 years, 2 months ago (2011-10-17 02:24:56 UTC) #12
commit-bot: I haz the power
9 years, 2 months ago (2011-10-17 03:29:03 UTC) #13
Change committed as 105763

Powered by Google App Engine
This is Rietveld 408576698