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

Issue 1306603003: Redefine CreateFileVersionInfoForCurrentModule() as a macro on Windows. (Closed)

Created:
5 years, 4 months ago by gab
Modified:
5 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Redefine CreateFileVersionInfoForCurrentModule() as a macro on Windows. This makes extra sure that inlining occurs. When __force_inline doesn't work... brute-force-inline..! BUG=516359 TBR=gene@chromium.org Committed: https://crrev.com/2a85add76b2927db8249e0287dc2301b6eafd023 Cr-Commit-Position: refs/heads/master@{#346041}

Patch Set 1 #

Patch Set 2 : Use a real macro #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -16 lines) Patch
M base/file_version_info.h View 1 2 chunks +13 lines, -10 lines 0 comments Download
M chrome/app/client_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_watcher/chrome_watcher_main.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M cloud_print/common/win/install_utils.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cloud_print/virtual_driver/win/install/setup.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (9 generated)
gab
@Bruce, that fixes it..! WDYT?
5 years, 4 months ago (2015-08-20 15:04:41 UTC) #2
robertshield
On 2015/08/20 15:04:41, gab wrote: > @Bruce, that fixes it..! WDYT? Nice, you really did ...
5 years, 4 months ago (2015-08-20 15:31:55 UTC) #3
brucedawson
I hate macros, but they do have their uses. I am not an owner but ...
5 years, 4 months ago (2015-08-20 18:20:55 UTC) #4
gab
On 2015/08/20 18:20:55, brucedawson wrote: > I hate macros, but they do have their uses. ...
5 years, 4 months ago (2015-08-20 20:08:37 UTC) #6
rvargas (doing something else)
I don't like having a method named as a function and implemented as a macro ...
5 years, 4 months ago (2015-08-21 01:03:31 UTC) #7
gab
On 2015/08/21 01:03:31, rvargas (out until 9-8) wrote: > I don't like having a method ...
5 years, 3 months ago (2015-08-26 21:16:30 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306603003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306603003/20001
5 years, 3 months ago (2015-08-26 21:17:12 UTC) #10
brucedawson
It probably is best to not hide the fact that a macro is being used. ...
5 years, 3 months ago (2015-08-26 21:20:02 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-26 22:37:13 UTC) #13
gab
@Nico, looks like Ricardo is out, mind taking a look? Thanks, Gab
5 years, 3 months ago (2015-08-27 20:33:21 UTC) #15
Nico
lgtm
5 years, 3 months ago (2015-08-27 23:23:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306603003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306603003/20001
5 years, 3 months ago (2015-08-28 00:02:31 UTC) #18
gab
TBR gene for side-effect on cloud_print/
5 years, 3 months ago (2015-08-28 00:03:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306603003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306603003/20001
5 years, 3 months ago (2015-08-28 00:04:40 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-08-28 01:13:30 UTC) #24
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 01:14:05 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2a85add76b2927db8249e0287dc2301b6eafd023
Cr-Commit-Position: refs/heads/master@{#346041}

Powered by Google App Engine
This is Rietveld 408576698