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

Issue 67205: Browser Crash when opening urls with NEW_BACKGROUND_TAB disposition... (Closed)

Created:
11 years, 8 months ago by Mohamed Mansour (USE mhm)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Browser Crash when opening urls with NEW_BACKGROUND_TAB disposition When that disposition is used and no "normal" window is opened, it crashes. "normal" means non POPUP, non APPLICATION window type. This happens because background disposition doens't focus or activate the window unless selected. A crash happens because GetSelectedTabContents() is null since nothing initially there. This fix might have stopped it crash, but would be best to see if its a "good" approach. I fixed some lints such as, header file already exists, extra white space, etc) BUG=10591 ( http://crbug.com/10591 )

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

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

Messages

Total messages: 7 (0 generated)
Mohamed Mansour (USE mhm)
11 years, 8 months ago (2009-04-16 05:50:38 UTC) #1
Elliot Glaysher
I confirm that this works. I'd like Ben to address whether this is a good ...
11 years, 8 months ago (2009-04-16 20:22:31 UTC) #2
Peter Kasting
http://codereview.chromium.org/67205/diff/1003/1004 File chrome/browser/browser.cc (right): http://codereview.chromium.org/67205/diff/1003/1004#newcode1670 Line 1670: // If this is an application we can ...
11 years, 8 months ago (2009-04-16 21:16:40 UTC) #3
Mohamed Mansour (USE mhm)
Peter, thanks for your comments, your totally correct. I have worked backwards doing this patch ...
11 years, 8 months ago (2009-04-17 04:22:15 UTC) #4
Peter Kasting
LGTM
11 years, 8 months ago (2009-04-17 16:52:03 UTC) #5
Hironori Bono
pkasting, Mohamed asked me when we commit this change today. Is it possible for me ...
11 years, 8 months ago (2009-04-22 09:49:03 UTC) #6
Hironori Bono
11 years, 8 months ago (2009-04-23 06:22:34 UTC) #7
It was submitted as r14288 on behalf of pkasting.
Thank you so much for your work for Chromium.

Powered by Google App Engine
This is Rietveld 408576698