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

Issue 13162003: Instant: Don't use the local overlay's URL for the NTP. (Closed)

Created:
7 years, 8 months ago by sreeram
Modified:
7 years, 8 months ago
Reviewers:
samarth
CC:
chromium-reviews, melevin, dhollowa+watch_chromium.org, dougw+watch_chromium.org, gideonwald, dominich, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Visibility:
Public.

Description

Instant: Don't use the local overlay's URL for the NTP. GetInstantURL() is used for both the NTP as well as the overlay. So, it's wrong for it to assume that it's okay to return the local overlay's URL under some circumstances. Instead, it should return false, and have the caller fallback to the local NTP's URL or local overlay's URL as appropriate. BUG=224946 R=samarth@chromium.org TEST=See bug. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191967

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M chrome/browser/ui/search/instant_controller.h View 1 2 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.cc View 1 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/search/instant_extended_browsertest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sreeram
Please review.
7 years, 8 months ago (2013-04-01 23:28:12 UTC) #1
samarth
Change looks good but please update the function comments in the .h file. Also, it ...
7 years, 8 months ago (2013-04-01 23:42:46 UTC) #2
samarth
Oops, meant to lgtm as well.
7 years, 8 months ago (2013-04-01 23:43:06 UTC) #3
sreeram
On 2013/04/01 23:42:46, samarth wrote: > Change looks good but please update the function comments ...
7 years, 8 months ago (2013-04-02 20:20:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sreeram@chromium.org/13162003/5001
7 years, 8 months ago (2013-04-02 22:54:19 UTC) #5
commit-bot: I haz the power
7 years, 8 months ago (2013-04-03 03:56:12 UTC) #6
Message was sent while issue was closed.
Change committed as 191967

Powered by Google App Engine
This is Rietveld 408576698