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

Issue 2614943003: Remove ContextClient from NavigatorMIDI (Closed)

Created:
3 years, 11 months ago by haraken
Modified:
3 years, 11 months ago
Reviewers:
sof
CC:
chromium-reviews, blink-reviews, haraken, toyoshim+midi_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ContextClient from NavigatorMIDI It's not needed. ContextClient is used to detect if a frame is detached, but we can check it with scriptState->contextIsValid(). BUG=610176 Review-Url: https://codereview.chromium.org/2614943003 Cr-Commit-Position: refs/heads/master@{#441924} Committed: https://chromium.googlesource.com/chromium/src/+/5d044bb4fef05b493693b2d548352bc025f08d46

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -10 lines) Patch
M third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.h View 3 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp View 3 chunks +7 lines, -6 lines 4 comments Download

Messages

Total messages: 10 (4 generated)
haraken
PTAL https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp File third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp (right): https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp#newcode75 third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp:75: if (!scriptState->contextIsValid()) { This is "mostly" equivalent to ...
3 years, 11 months ago (2017-01-06 01:11:19 UTC) #2
sof
https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp File third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp (right): https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp#newcode75 third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp:75: if (!scriptState->contextIsValid()) { On 2017/01/06 01:11:19, haraken wrote: > ...
3 years, 11 months ago (2017-01-06 07:33:33 UTC) #3
haraken
https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp File third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp (right): https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp#newcode75 third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp:75: if (!scriptState->contextIsValid()) { On 2017/01/06 07:33:33, sof wrote: > ...
3 years, 11 months ago (2017-01-06 08:13:35 UTC) #4
sof
lgtm https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp File third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp (right): https://codereview.chromium.org/2614943003/diff/1/third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp#newcode75 third_party/WebKit/Source/modules/webmidi/NavigatorWebMIDI.cpp:75: if (!scriptState->contextIsValid()) { On 2017/01/06 08:13:35, haraken wrote: ...
3 years, 11 months ago (2017-01-06 10:21:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2614943003/1
3 years, 11 months ago (2017-01-06 10:55:01 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 12:18:51 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5d044bb4fef05b493693b2d54835...

Powered by Google App Engine
This is Rietveld 408576698