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

Issue 8574027: Remove 1 exit time destructor from ppapi, and possibly fix a bug. (Closed)

Created:
9 years, 1 month ago by Nico
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Remove 1 exit time destructor from ppapi, and possibly fix a bug. Previously, this was an inline function with a static member, and since we're building with -fvisibility-inlines-hidden, this resulted in one copy of the singleton in each translation unit that includes this header. Turn on -Wexit-time-destructors for ppapi_proxy. BUG=104323 TEST=none TBR=noelallen@google.com (noelallen@chromium.org did LGTM already) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110339

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : revert gyp change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.h View 1 chunk +1 line, -4 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Nico
The change to the gyp file is wrong. I can't figure out how to build ...
9 years, 1 month ago (2011-11-16 01:13:23 UTC) #1
bradn
Hmmn, not sure why its not working. It work on other modules? Otherwise LGTM But ...
9 years, 1 month ago (2011-11-16 01:28:38 UTC) #2
noelallen1
No that's too crazy even for us. :0 Not sure about singleton race, otherwise LGTM. ...
9 years, 1 month ago (2011-11-16 18:22:40 UTC) #3
Nico
I guess I just won't check in the gyp change then. Thanks! http://codereview.chromium.org/8574027/diff/2001/ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc File ppapi/native_client/src/shared/ppapi_proxy/plugin_resource_tracker.cc ...
9 years, 1 month ago (2011-11-16 18:25:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/8574027/4002
9 years, 1 month ago (2011-11-16 18:27:25 UTC) #5
commit-bot: I haz the power
Presubmit check for 8574027-4002 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-16 18:27:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/8574027/4002
9 years, 1 month ago (2011-11-16 18:29:54 UTC) #7
noelallen_use_chromium
On 2011/11/16 01:13:23, Nico wrote: > The change to the gyp file is wrong. > ...
9 years, 1 month ago (2011-11-16 19:29:44 UTC) #8
Nico
On 2011/11/16 19:29:44, noelallen wrote: > On 2011/11/16 01:13:23, Nico wrote: > > The change ...
9 years, 1 month ago (2011-11-16 19:32:26 UTC) #9
noelallen_use_chromium
On 2011/11/16 19:32:26, Nico wrote: > On 2011/11/16 19:29:44, noelallen wrote: > > On 2011/11/16 ...
9 years, 1 month ago (2011-11-16 19:46:55 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-16 19:50:24 UTC) #11
Change committed as 110339

Powered by Google App Engine
This is Rietveld 408576698