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

Issue 2060943008: Fix compilation with clang shipped with Xcode. (Closed)

Created:
4 years, 6 months ago by sdefresne
Modified:
4 years, 6 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, estade+watch_chromium.org, vabr+watchlistautofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix compilation with clang shipped with Xcode. After https://codereview.chromium.org/2051343002, the version of clang shipped with Xcode gets confused and think that gfx::RectF is a POD type and warns about constructing a const POD value. Workaround this by passing a temporary non-const value instead. BUG=620673 Committed: https://crrev.com/7d77d2274c07224580b060a49399215ce0ebce1f Cr-Commit-Position: refs/heads/master@{#400135}

Patch Set 1 #

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

Messages

Total messages: 11 (5 generated)
sdefresne
Please take a look, pkasting as original author of referenced CL, vabr as OWNERS of ...
4 years, 6 months ago (2016-06-16 11:30:26 UTC) #3
vabr (Chromium)
LGTM, the new code actually seems better to me even without considering the compiler issue. ...
4 years, 6 months ago (2016-06-16 11:38:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060943008/1
4 years, 6 months ago (2016-06-16 11:53:10 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-16 12:13:22 UTC) #8
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-16 12:13:26 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 12:14:50 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7d77d2274c07224580b060a49399215ce0ebce1f
Cr-Commit-Position: refs/heads/master@{#400135}

Powered by Google App Engine
This is Rietveld 408576698