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

Issue 220333003: Apply OwnPtr|PassOwnPtr to handle member variables and arguments in MIDIClient (Closed)

Created:
6 years, 8 months ago by gyuyoung-inactive
Modified:
6 years, 8 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Apply OwnPtr|PassOwnPtr to handle member variables and arguments in MIDIClient As r170438 and r170576, WebViewImpl has used m_midiClientProxy unnecessarily in order to pass it to provideMIDITo(). To remove it, this cl changes the parameter type to OwnPtr|PassOwnPtr in MIDIClient and MIDIControler classes. BUG=N/A Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170746

Patch Set 1 #

Total comments: 4

Patch Set 2 : Patch for landing #

Patch Set 3 : Fix a unit test crash #

Patch Set 4 : Fix a unit test #2 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M Source/modules/webmidi/MIDIClient.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/webmidi/MIDIController.h View 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/webmidi/MIDIController.cpp View 1 2 3 2 chunks +4 lines, -4 lines 1 comment Download
M Source/web/MIDIClientProxy.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
gyuyoung-inactive
Add haraken and jochen to reviewer
6 years, 8 months ago (2014-04-01 23:02:06 UTC) #1
haraken
https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp File Source/web/MIDIClientProxy.cpp (right): https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp#newcode54 Source/web/MIDIClientProxy.cpp:54: if (m_client) Is it possible that m_client is 0? ...
6 years, 8 months ago (2014-04-02 01:08:53 UTC) #2
gyuyoung-inactive
https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp File Source/web/MIDIClientProxy.cpp (right): https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp#newcode54 Source/web/MIDIClientProxy.cpp:54: if (m_client) On 2014/04/02 01:08:54, haraken wrote: > > ...
6 years, 8 months ago (2014-04-02 01:17:35 UTC) #3
haraken
LGTM. > > Is it possible that m_client is 0? > > Yes, client parameter ...
6 years, 8 months ago (2014-04-02 01:20:07 UTC) #4
gyuyoung-inactive
On 2014/04/02 01:20:07, haraken wrote: > LGTM. > > > > Is it possible that ...
6 years, 8 months ago (2014-04-02 01:37:51 UTC) #5
haraken
On 2014/04/02 01:37:51, gyuyoung wrote: > On 2014/04/02 01:20:07, haraken wrote: > > LGTM. > ...
6 years, 8 months ago (2014-04-02 01:49:44 UTC) #6
gyuyoung-inactive
On 2014/04/02 01:49:44, haraken wrote: > On 2014/04/02 01:37:51, gyuyoung wrote: > > On 2014/04/02 ...
6 years, 8 months ago (2014-04-02 01:53:05 UTC) #7
jochen (gone - plz use gerrit)
lgtm with nit https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp File Source/web/MIDIClientProxy.cpp (right): https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp#newcode49 Source/web/MIDIClientProxy.cpp:49: return adoptPtr(new MIDIClientProxy(client)); nit should go ...
6 years, 8 months ago (2014-04-02 09:28:59 UTC) #8
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-02 09:53:55 UTC) #9
gyuyoung-inactive
The CQ bit was unchecked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-02 09:53:59 UTC) #10
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-02 10:10:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/220333003/20001
6 years, 8 months ago (2014-04-02 10:10:53 UTC) #12
gyuyoung-inactive
On 2014/04/02 09:28:59, jochen wrote: > lgtm with nit > > https://codereview.chromium.org/220333003/diff/1/Source/web/MIDIClientProxy.cpp > File Source/web/MIDIClientProxy.cpp ...
6 years, 8 months ago (2014-04-02 10:11:21 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 10:26:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-02 10:26:32 UTC) #15
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-03 02:25:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/220333003/20001
6 years, 8 months ago (2014-04-03 02:25:44 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 02:38:54 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-03 02:38:55 UTC) #19
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-03 03:44:21 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/220333003/40001
6 years, 8 months ago (2014-04-03 03:44:30 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 03:55:50 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 8 months ago (2014-04-03 03:55:52 UTC) #23
gyuyoung-inactive
https://codereview.chromium.org/220333003/diff/60001/Source/modules/webmidi/MIDIController.cpp File Source/modules/webmidi/MIDIController.cpp (right): https://codereview.chromium.org/220333003/diff/60001/Source/modules/webmidi/MIDIController.cpp#newcode47 Source/modules/webmidi/MIDIController.cpp:47: ASSERT(m_client); I missed that client becomes a null after ...
6 years, 8 months ago (2014-04-03 06:30:11 UTC) #24
gyuyoung-inactive
The CQ bit was checked by gyuyoung.kim@samsung.com
6 years, 8 months ago (2014-04-03 06:30:27 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gyuyoung.kim@samsung.com/220333003/60001
6 years, 8 months ago (2014-04-03 06:30:36 UTC) #26
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 07:37:20 UTC) #27
Message was sent while issue was closed.
Change committed as 170746

Powered by Google App Engine
This is Rietveld 408576698