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

Issue 599093006: Oilpan: fix build after r182644. (Closed)

Created:
6 years, 2 months ago by Daniel Chow
Modified:
6 years, 2 months ago
CC:
blink-reviews, feature-media-reviews_chromium.org, philipj_slow, eric.carlson_apple.com, jrummell
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Oilpan: fix build after r182644. TBR=oilpan-reviews, ddorwin@chromium.org BUG= NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182654

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (8 generated)
Daniel Chow
6 years, 2 months ago (2014-09-25 03:25:08 UTC) #1
haraken
https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp File Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp (right): https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp#newcode66 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp:66: RawPtrWillBePersistent<HTMLMediaElement> m_element; Are you sure that the persistent handle ...
6 years, 2 months ago (2014-09-25 03:35:27 UTC) #3
DanielChow
https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp File Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp (right): https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp#newcode66 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp:66: RawPtrWillBePersistent<HTMLMediaElement> m_element; On 2014/09/25 03:35:27, haraken wrote: > > ...
6 years, 2 months ago (2014-09-25 03:48:32 UTC) #5
sof
https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp File Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp (right): https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp#newcode66 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp:66: RawPtrWillBePersistent<HTMLMediaElement> m_element; On 2014/09/25 03:48:32, DanielChow wrote: > On ...
6 years, 2 months ago (2014-09-25 05:21:24 UTC) #7
haraken
https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp File Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp (right): https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp#newcode66 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp:66: RawPtrWillBePersistent<HTMLMediaElement> m_element; On 2014/09/25 05:21:24, sof wrote: > On ...
6 years, 2 months ago (2014-09-25 05:45:02 UTC) #8
DanielChow
On 2014/09/25 05:21:24, sof wrote: > https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp > File Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp (right): > > https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp#newcode66 > ...
6 years, 2 months ago (2014-09-25 06:07:08 UTC) #9
sof
On 2014/09/25 06:07:08, DanielChow wrote: > On 2014/09/25 05:21:24, sof wrote: > > > https://codereview.chromium.org/599093006/diff/1/Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp ...
6 years, 2 months ago (2014-09-25 07:08:52 UTC) #10
haraken
On 2014/09/25 07:08:52, sof wrote: > On 2014/09/25 06:07:08, DanielChow wrote: > > On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 07:33:51 UTC) #11
DanielChow
Done, please have another look.
6 years, 2 months ago (2014-09-25 07:36:30 UTC) #12
haraken
+yhirano LGTM.
6 years, 2 months ago (2014-09-25 07:37:39 UTC) #14
sof
thanks, looks good to me. will let others chime in.
6 years, 2 months ago (2014-09-25 07:37:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/599093006/40001
6 years, 2 months ago (2014-09-25 07:53:20 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 182654
6 years, 2 months ago (2014-09-25 07:54:04 UTC) #19
yhirano
I have a question. Currently SetMediaKeyHandler is AsyncInitializer only for executing some operations asynchronous. Do ...
6 years, 2 months ago (2014-09-25 08:09:48 UTC) #20
Daniel Chow
+jrummell
6 years, 2 months ago (2014-09-25 08:49:11 UTC) #22
jrummell
> I have a question. Currently SetMediaKeyHandler is AsyncInitializer only for > executing some operations ...
6 years, 2 months ago (2014-09-25 20:49:20 UTC) #23
yhirano1
6 years, 2 months ago (2014-09-26 10:12:57 UTC) #25
Message was sent while issue was closed.
On 2014/09/25 20:49:20, jrummell wrote:
> > I have a question. Currently SetMediaKeyHandler is AsyncInitializer only for
> > executing some operations asynchronous. Do you have a plan to change the
> > behavior?
> 
> It will always be async. Clearing the existing value (which is not yet
> supported on the Chromium side) has to wait until any existing decryption
> work stops using the MediaKeys object (decryption runs on a different thread).
> 
> > If it won't change, making the operation a subclass of ScriptFunction (let
us
> > call it AsyncOperation here) and creating a function that returns
> > ScriptPromise.resolve().then(AsyncOperation::create(...))
> > looks simpler to me.
> 
> Won't ScriptPromise.resolve().then(...) resolve the promise in JavaScript when
> AsyncOperation::create(...) finishes? We need the promise resolved only when
> the AsyncOperation is all done.
> 
Sorry, I overlooked 3.3.1-3 case. I don't have a good idea now.

> > Inheriting ScriptPromiseResolver is complex and I would avoid that if
> possible.
> > What do you think?
> 
> Agreed. If there is a simpler way to do this then I don't mind changing it.

Powered by Google App Engine
This is Rietveld 408576698