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

Issue 16032004: Call CreateDefaultOrdinals() when needed, instead of on construction (Closed)

Created:
7 years, 7 months ago by stevenjb
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Call CreateDefaultOrdinals() when needed, instead of on construction This is not a complete fix, but it appears to be safe and will make it much less likely for this to crash while we consider a more complete solution. BUG=243773 For browser/extensions: TBR=asargent@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202337

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix static, CHECK -> ERROR #

Total comments: 2

Patch Set 3 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M chrome/browser/chromeos/extensions/default_app_order.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sorting.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sorting.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
stevenjb
asargent@ for OWNER
7 years, 7 months ago (2013-05-24 18:00:52 UTC) #1
csharp
https://chromiumcodereview.appspot.com/16032004/diff/1/chrome/browser/extensions/extension_sorting.cc File chrome/browser/extensions/extension_sorting.cc (right): https://chromiumcodereview.appspot.com/16032004/diff/1/chrome/browser/extensions/extension_sorting.cc#newcode549 chrome/browser/extensions/extension_sorting.cc:549: static bool s_default_ordinales_created = false; Why isn't this a ...
7 years, 7 months ago (2013-05-24 18:06:22 UTC) #2
xiyuan
LGTM
7 years, 7 months ago (2013-05-24 18:07:17 UTC) #3
xiyuan
https://chromiumcodereview.appspot.com/16032004/diff/1/chrome/browser/extensions/extension_sorting.cc File chrome/browser/extensions/extension_sorting.cc (right): https://chromiumcodereview.appspot.com/16032004/diff/1/chrome/browser/extensions/extension_sorting.cc#newcode549 chrome/browser/extensions/extension_sorting.cc:549: static bool s_default_ordinales_created = false; On 2013/05/24 18:06:22, csharp ...
7 years, 7 months ago (2013-05-24 18:09:13 UTC) #4
stevenjb
PTAL I fixed the static and also replaced the CHECK with a LOG(ERROR) in ExternalLoader::GetAppIds() ...
7 years, 7 months ago (2013-05-24 18:16:02 UTC) #5
xiyuan
On 2013/05/24 18:16:02, stevenjb (chromium) wrote: > PTAL > > I fixed the static and ...
7 years, 7 months ago (2013-05-24 18:20:11 UTC) #6
csharp
lgtm https://chromiumcodereview.appspot.com/16032004/diff/8001/chrome/browser/extensions/extension_sorting.h File chrome/browser/extensions/extension_sorting.h (right): https://chromiumcodereview.appspot.com/16032004/diff/8001/chrome/browser/extensions/extension_sorting.h#newcode217 chrome/browser/extensions/extension_sorting.h:217: // construction when the app order may not ...
7 years, 7 months ago (2013-05-24 18:37:12 UTC) #7
stevenjb
https://chromiumcodereview.appspot.com/16032004/diff/8001/chrome/browser/extensions/extension_sorting.h File chrome/browser/extensions/extension_sorting.h (right): https://chromiumcodereview.appspot.com/16032004/diff/8001/chrome/browser/extensions/extension_sorting.h#newcode217 chrome/browser/extensions/extension_sorting.h:217: // construction when the app order may not have ...
7 years, 7 months ago (2013-05-24 18:40:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/16032004/10002
7 years, 7 months ago (2013-05-24 18:41:12 UTC) #9
asargent_no_longer_on_chrome
lgtm
7 years, 7 months ago (2013-05-24 20:38:16 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 7 months ago (2013-05-24 23:42:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/16032004/10002
7 years, 7 months ago (2013-05-25 06:26:11 UTC) #12
commit-bot: I haz the power
7 years, 7 months ago (2013-05-26 02:36:19 UTC) #13
Message was sent while issue was closed.
Change committed as 202337

Powered by Google App Engine
This is Rietveld 408576698