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

Issue 254393004: LocationBarView should consistently NULL-check GetWebContents(). (Closed)

Created:
6 years, 8 months ago by Peter Kasting
Modified:
6 years, 8 months ago
Reviewers:
Greg Billock
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

LocationBarView should consistently NULL-check GetWebContents(). This also makes us consistently use GetWebContents() (instead of delegate_->GetWebContents()) and, if it's to be stored in a variable, names the variable |web_contents| (which is what the majority of uses already did). BUG=362645 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266046

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -16 lines) Patch
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 9 chunks +17 lines, -16 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Peter Kasting
6 years, 8 months ago (2014-04-24 00:57:29 UTC) #1
Greg Billock
On 2014/04/24 00:57:29, Peter Kasting wrote: lgtm
6 years, 8 months ago (2014-04-24 20:26:47 UTC) #2
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 8 months ago (2014-04-24 20:27:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/254393004/1
6 years, 8 months ago (2014-04-24 21:16:50 UTC) #4
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 23:37:10 UTC) #5
Message was sent while issue was closed.
Change committed as 266046

Powered by Google App Engine
This is Rietveld 408576698