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

Issue 224843013: don't hit NOTREACHED when pasting on non-x11 non-chromeos unix builds (Closed)

Created:
6 years, 8 months ago by Mostyn Bramley-Moore
Modified:
6 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Chromeos and non-X11 unix builds should not hit NOTREACHED when pasting. BUG=361341 TEST=ClickModifierTest.WindowOpenShiftMiddleClickTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263420

Patch Set 1 #

Total comments: 3

Patch Set 2 : rejig the ifdefs instead #

Total comments: 2

Patch Set 3 : leave TODO note #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M content/renderer/webclipboard_impl.cc View 1 2 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Mostyn Bramley-Moore
@jam: PTAL at this small patch...
6 years, 8 months ago (2014-04-08 08:29:50 UTC) #1
dcheng
Can you share how you're hitting this? Usually hitting this would mean a legitimate bug ...
6 years, 8 months ago (2014-04-08 08:32:04 UTC) #2
Mostyn Bramley-Moore
On 2014/04/08 08:32:04, dcheng wrote: > Can you share how you're hitting this? Usually hitting ...
6 years, 8 months ago (2014-04-08 08:39:08 UTC) #3
dcheng
On 2014/04/08 08:39:08, Mostyn Bramley-Moore wrote: > On 2014/04/08 08:32:04, dcheng wrote: > > Can ...
6 years, 8 months ago (2014-04-08 08:43:35 UTC) #4
Mostyn Bramley-Moore
On 2014/04/08 08:43:35, dcheng wrote: > On 2014/04/08 08:39:08, Mostyn Bramley-Moore wrote: > > On ...
6 years, 8 months ago (2014-04-08 10:01:43 UTC) #5
dcheng
On 2014/04/08 10:01:43, Mostyn Bramley-Moore wrote: > On 2014/04/08 08:43:35, dcheng wrote: > > On ...
6 years, 8 months ago (2014-04-08 21:19:37 UTC) #6
Mostyn Bramley-Moore
> > Should I add an "EditingEmbeddedBehaviour" value for use in > > supportsGlobalSelection? This ...
6 years, 8 months ago (2014-04-08 21:23:43 UTC) #7
dcheng
Ah. Sorry for missing that. Is there some combination of defines that we can gate ...
6 years, 8 months ago (2014-04-08 21:55:05 UTC) #8
Mostyn Bramley-Moore
On 2014/04/08 21:55:05, dcheng wrote: > Ah. Sorry for missing that. > > Is there ...
6 years, 8 months ago (2014-04-08 22:13:48 UTC) #9
spang
On 2014/04/08 22:13:48, Mostyn Bramley-Moore wrote: > On 2014/04/08 21:55:05, dcheng wrote: > > Ah. ...
6 years, 8 months ago (2014-04-08 22:51:20 UTC) #10
spang
https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc File content/renderer/webclipboard_impl.cc (right): https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc#newcode215 content/renderer/webclipboard_impl.cc:215: #endif This code can preprocess to case BufferSelection: default: ...
6 years, 8 months ago (2014-04-08 22:57:21 UTC) #11
rjkroege
https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc File content/renderer/webclipboard_impl.cc (right): https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc#newcode215 content/renderer/webclipboard_impl.cc:215: #endif On 2014/04/08 22:57:21, spang wrote: > This code ...
6 years, 8 months ago (2014-04-09 14:56:07 UTC) #12
spang
On 2014/04/09 14:56:07, rjkroege wrote: > https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc > File content/renderer/webclipboard_impl.cc (right): > > https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc#newcode215 > ...
6 years, 8 months ago (2014-04-09 15:22:04 UTC) #13
rjkroege
On 2014/04/09 15:22:04, spang wrote: > On 2014/04/09 14:56:07, rjkroege wrote: > > > https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc ...
6 years, 8 months ago (2014-04-09 16:09:39 UTC) #14
spang
On 2014/04/09 16:09:39, rjkroege wrote: > On 2014/04/09 15:22:04, spang wrote: > > On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 16:34:47 UTC) #15
Mostyn Bramley-Moore
https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc File content/renderer/webclipboard_impl.cc (right): https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc#newcode215 content/renderer/webclipboard_impl.cc:215: #endif > I'm with spang here. Why does this ...
6 years, 8 months ago (2014-04-09 18:40:27 UTC) #16
spang
On 2014/04/09 18:40:27, Mostyn Bramley-Moore wrote: > https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc > File content/renderer/webclipboard_impl.cc (right): > > https://codereview.chromium.org/224843013/diff/1/content/renderer/webclipboard_impl.cc#newcode215 ...
6 years, 8 months ago (2014-04-09 18:53:41 UTC) #17
dcheng
On 2014/04/09 18:53:41, spang wrote: > On 2014/04/09 18:40:27, Mostyn Bramley-Moore wrote: > > > ...
6 years, 8 months ago (2014-04-09 19:27:56 UTC) #18
Mostyn Bramley-Moore
@dcheng: are you happy with patchset 2 in the meantime?
6 years, 8 months ago (2014-04-09 19:34:59 UTC) #19
dcheng
Other than that, LGTM as a temporary solution. https://codereview.chromium.org/224843013/diff/20001/content/renderer/webclipboard_impl.cc File content/renderer/webclipboard_impl.cc (right): https://codereview.chromium.org/224843013/diff/20001/content/renderer/webclipboard_impl.cc#newcode210 content/renderer/webclipboard_impl.cc:210: // ...
6 years, 8 months ago (2014-04-09 20:45:30 UTC) #20
Mostyn Bramley-Moore
@jam: can you give this an OWNER thumbs up? https://codereview.chromium.org/224843013/diff/20001/content/renderer/webclipboard_impl.cc File content/renderer/webclipboard_impl.cc (right): https://codereview.chromium.org/224843013/diff/20001/content/renderer/webclipboard_impl.cc#newcode210 content/renderer/webclipboard_impl.cc:210: ...
6 years, 8 months ago (2014-04-09 21:00:40 UTC) #21
jam
lgtm
6 years, 8 months ago (2014-04-11 18:07:29 UTC) #22
spang
The CQ bit was checked by spang@chromium.org
6 years, 8 months ago (2014-04-11 19:22:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/224843013/40001
6 years, 8 months ago (2014-04-11 19:23:03 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-04-12 00:07:05 UTC) #25
Message was sent while issue was closed.
Change committed as 263420

Powered by Google App Engine
This is Rietveld 408576698