diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:43:27 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:43:27 +0000 |
commit | 59383c78c7b67b435ff4970060213928e1f153b8 (patch) | |
tree | 5c215c1ba34a10bf83ceea455552908c20061a5b /content/renderer/active_notification_tracker.cc | |
parent | bf36fe526209a41c15f6747ffc1392206338896c (diff) | |
download | chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.zip chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.gz chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.bz2 |
Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in content/.
BUG=232084
Review URL: https://codereview.chromium.org/14081010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/active_notification_tracker.cc')
-rw-r--r-- | content/renderer/active_notification_tracker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/active_notification_tracker.cc b/content/renderer/active_notification_tracker.cc index 5f4a40e..11e16c2 100644 --- a/content/renderer/active_notification_tracker.cc +++ b/content/renderer/active_notification_tracker.cc @@ -55,7 +55,7 @@ void ActiveNotificationTracker::UnregisterNotification(int id) { scoped_ptr<WebNotification> notification(notification_table_.Lookup(id)); notification_table_.Remove(id); DCHECK(notification.get()); - if (notification.get()) + if (notification) reverse_notification_table_.erase(*notification); } |