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

Issue 310393004: Oilpan: update WebNotification and WebDOMMediaStreamTrack type conversions (Closed)

Created:
6 years, 6 months ago by sof
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, philipj_slow, eric.carlson_apple.com, abarth-chromium, feature-media-reviews_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: update WebNotification and WebDOMMediaStreamTrack type conversions These two public/web/ types hadn't been updated to use transition types over their underlying Oilpan-converted objects. R=tkent@chromium.org,haraken@chromium.org BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175540

Patch Set 1 #

Patch Set 2 : Use RawPtr for WebNotification #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -16 lines) Patch
M Source/web/NotificationPresenterImpl.cpp View 1 1 chunk +4 lines, -4 lines 4 comments Download
M Source/web/WebDOMMediaStreamTrack.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebNotification.cpp View 1 1 chunk +2 lines, -7 lines 0 comments Download
M public/web/WebDOMMediaStreamTrack.h View 1 chunk +1 line, -1 line 0 comments Download
M public/web/WebNotification.h View 1 1 chunk +2 lines, -3 lines 1 comment Download

Messages

Total messages: 12 (0 generated)
sof
Please take a look.
6 years, 6 months ago (2014-06-04 20:08:35 UTC) #1
sof
https://codereview.chromium.org/310393004/diff/20001/public/web/WebNotification.h File public/web/WebNotification.h (right): https://codereview.chromium.org/310393004/diff/20001/public/web/WebNotification.h#newcode96 public/web/WebNotification.h:96: WebNotification(const WTF::RawPtr<WebCore::Notification>&); I want to go further here and ...
6 years, 6 months ago (2014-06-04 21:21:08 UTC) #2
tkent
lgtm
6 years, 6 months ago (2014-06-04 23:30:24 UTC) #3
haraken
LGTM
6 years, 6 months ago (2014-06-05 00:51:39 UTC) #4
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 6 months ago (2014-06-05 05:35:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/310393004/20001
6 years, 6 months ago (2014-06-05 05:36:54 UTC) #6
commit-bot: I haz the power
Change committed as 175540
6 years, 6 months ago (2014-06-05 06:53:27 UTC) #7
Mads Ager (chromium)
https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp File Source/web/NotificationPresenterImpl.cpp (right): https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp#newcode82 Source/web/NotificationPresenterImpl.cpp:82: return m_presenter->show(RawPtr<Notification>(notification)); I think these methods already take actual ...
6 years, 6 months ago (2014-06-06 06:45:17 UTC) #8
sof
https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp File Source/web/NotificationPresenterImpl.cpp (right): https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp#newcode82 Source/web/NotificationPresenterImpl.cpp:82: return m_presenter->show(RawPtr<Notification>(notification)); On 2014/06/06 06:45:17, Mads Ager (chromium) wrote: ...
6 years, 6 months ago (2014-06-06 06:50:29 UTC) #9
Mads Ager (chromium)
https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp File Source/web/NotificationPresenterImpl.cpp (right): https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp#newcode82 Source/web/NotificationPresenterImpl.cpp:82: return m_presenter->show(RawPtr<Notification>(notification)); On 2014/06/06 06:50:28, sof wrote: > On ...
6 years, 6 months ago (2014-06-06 07:13:20 UTC) #10
sof
https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp File Source/web/NotificationPresenterImpl.cpp (right): https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationPresenterImpl.cpp#newcode82 Source/web/NotificationPresenterImpl.cpp:82: return m_presenter->show(RawPtr<Notification>(notification)); On 2014/06/06 07:13:20, Mads Ager (chromium) wrote: ...
6 years, 6 months ago (2014-06-06 07:23:06 UTC) #11
Mads Ager (chromium)
6 years, 6 months ago (2014-06-06 07:24:18 UTC) #12
Message was sent while issue was closed.
On 2014/06/06 07:23:06, sof wrote:
>
https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationP...
> File Source/web/NotificationPresenterImpl.cpp (right):
> 
>
https://codereview.chromium.org/310393004/diff/20001/Source/web/NotificationP...
> Source/web/NotificationPresenterImpl.cpp:82: return
> m_presenter->show(RawPtr<Notification>(notification));
> On 2014/06/06 07:13:20, Mads Ager (chromium) wrote:
> > On 2014/06/06 06:50:28, sof wrote:
> > > On 2014/06/06 06:45:17, Mads Ager (chromium) wrote:
> > > > I think these methods already take actual raw pointers, so can we just
> > remove
> > > > the conversion here and pass the pointer as is?
> > > 
> > > No, that runs into issues with converting a Notification* to a const
> > > WebNotification&. We only have conversions over (const
> RawPtr<Notification>).
> > > 
> > > This is what I referred to in
> https://codereview.chromium.org/310393004/#msg2
> > 
> > OK, thanks. :(
> 
> There's stuff to be looked at wrt WebPrivatePtr<>, but I'd prefer to address
> that separately.
> 
> (It is painfully slow (at this end) to make changes to WebPrivatePtr & test
them
> out.)

Thanks Sigbjørn, yes, that is painful. Addressing separately is just fine!

Powered by Google App Engine
This is Rietveld 408576698