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

Issue 1676833002: Add non-inline SkRTreeFactory constructor to fix clang-cl (Closed)

Created:
4 years, 10 months ago by brucedawson
Modified:
4 years, 10 months ago
Reviewers:
Nico, bsalomon, mtklein_C, reed1
CC:
reviews_skia.org, Nico
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add non-inline SkRTreeFactory constructor to fix clang-cl When Chromium is switched to build with VS 2015 that switches clang-cl to build in -fmsc-version=1900 mode. This causes some changes in importing of constructors and vftables which leads to link errors in blink_platform.dll. Adding a non-inline constructor makes 1900 mode behave consistently with 1800 mode and avoids the link error. The root cause needs investigation but this will unblock the VS 2015 switch. BUG=440500, 498544 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1676833002 Committed: https://skia.googlesource.com/skia/+/964eec67760196585954203ba625e440607f7e92

Patch Set 1 #

Patch Set 2 : Adding requested comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M include/core/SkBBHFactory.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBBHFactory.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
brucedawson
This patch unblocks Chromium's switch to VC++ 2015. While this change isn't necessary for VC++ ...
4 years, 10 months ago (2016-02-06 19:44:10 UTC) #3
Nico
Cool, good that there's a workaround. Can you add a // TODO(thakis@chromium): remove once HTTP://llvm.org/26506 ...
4 years, 10 months ago (2016-02-06 20:07:35 UTC) #5
bsalomon
lgtm
4 years, 10 months ago (2016-02-06 20:09:15 UTC) #6
brucedawson
On 2016/02/06 20:09:15, bsalomon wrote: > lgtm Comment added. Landing and then rolling now.
4 years, 10 months ago (2016-02-06 20:17:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1676833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1676833002/20001
4 years, 10 months ago (2016-02-06 20:17:57 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/964eec67760196585954203ba625e440607f7e92
4 years, 10 months ago (2016-02-06 20:41:00 UTC) #12
brucedawson
Chromium tree is closed now and I'll be AFK for a while so if somebody ...
4 years, 10 months ago (2016-02-06 20:45:23 UTC) #13
Nico
skia has this fancy bot that auto-rolls skia multiple times per day: http://codereview.chromium.org/user/skia-deps-roller (…hm, but ...
4 years, 10 months ago (2016-02-06 21:44:49 UTC) #14
bsalomon
On 2016/02/06 21:44:49, Nico wrote: > skia has this fancy bot that auto-rolls skia multiple ...
4 years, 10 months ago (2016-02-06 22:37:04 UTC) #15
Nico
we can probably undo this now; we updated to a clang that shouldn't need this ...
4 years, 10 months ago (2016-02-26 01:25:23 UTC) #16
brucedawson
On 2016/02/26 01:25:23, Nico wrote: > we can probably undo this now; we updated to ...
4 years, 10 months ago (2016-02-26 20:30:43 UTC) #17
brucedawson
4 years, 10 months ago (2016-02-26 20:31:18 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1739363002/ by brucedawson@chromium.org.

The reason for reverting is: This workaround should no longer be needed..

Powered by Google App Engine
This is Rietveld 408576698