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

Issue 5514001: Crash fix + OS specific ss's enabled. (Closed)

Created:
10 years ago by rkc
Modified:
9 years, 7 months ago
Reviewers:
oshima, zel
CC:
chromium-reviews, arv (Not doing code reviews), ben+cc_chromium.org
Visibility:
Public.

Description

Crash fix + OS specific ss's enabled. Fixes a crash in which if a feedback tab is open and a user opens it from a different tab again, feedback will crash on sending a report. This is due to browser_navigator; this change decouples us from the Singleton tab logic and adds our own. Additionally, code to take screenshots on other platforms is also added. BUG=64971, 61847 TEST=Tested by opening feedback from multiple tabs; sent reports successfully. Additionally tested with sending screenshots from Linux. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68052

Patch Set 1 #

Patch Set 2 : Build fix + removed debug statements. #

Patch Set 3 : Mac build fix. #

Patch Set 4 : Build fix for linux_view. #

Total comments: 14

Patch Set 5 : Review comments incorporated. #

Patch Set 6 : Moved TODO to the h file from the cc file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -26 lines) Patch
M chrome/app/generated_resources.grd View 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/dom_ui/bug_report_ui.h View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/bug_report_ui.cc View 1 2 3 4 5 5 chunks +68 lines, -11 lines 0 comments Download
M chrome/browser/gtk/browser_window_gtk.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/bug_report.html View 1 2 3 4 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/browser_dialogs.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/wrench_menu_model.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
oshima
http://codereview.chromium.org/5514001/diff/6001/chrome/browser/dom_ui/bug_report_ui.cc File chrome/browser/dom_ui/bug_report_ui.cc (right): http://codereview.chromium.org/5514001/diff/6001/chrome/browser/dom_ui/bug_report_ui.cc#newcode127 chrome/browser/dom_ui/bug_report_ui.cc:127: if (bug_report_url == tab->GetURL().GetWithEmptyPath()) if (tab && tab->GetURL().GetWithEmptyPath() == ...
10 years ago (2010-12-02 18:03:30 UTC) #1
oshima
http://codereview.chromium.org/5514001/diff/6001/chrome/browser/dom_ui/bug_report_ui.h File chrome/browser/dom_ui/bug_report_ui.h (right): http://codereview.chromium.org/5514001/diff/6001/chrome/browser/dom_ui/bug_report_ui.h#newcode24 chrome/browser/dom_ui/bug_report_ui.h:24: #endif forgot to mention. please add comment and include ...
10 years ago (2010-12-02 18:04:12 UTC) #2
rkc
http://codereview.chromium.org/5514001/diff/6001/chrome/browser/dom_ui/bug_report_ui.cc File chrome/browser/dom_ui/bug_report_ui.cc (right): http://codereview.chromium.org/5514001/diff/6001/chrome/browser/dom_ui/bug_report_ui.cc#newcode127 chrome/browser/dom_ui/bug_report_ui.cc:127: if (bug_report_url == tab->GetURL().GetWithEmptyPath()) On 2010/12/02 18:03:30, oshima wrote: ...
10 years ago (2010-12-02 19:54:04 UTC) #3
oshima
10 years ago (2010-12-02 20:01:35 UTC) #4
LGTM, given the constraints we have, but 
if this code is compiled for mac as well, it's really strange because mac
shouldn't be using views.

Powered by Google App Engine
This is Rietveld 408576698