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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h
index bd6c4f1a006947250b1e3cbced37efa797ab62b9..101a34513bab4bb68cb78842f967ce84519f418f 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h
@@ -50,7 +50,7 @@ class WebContentDecryptionModule;
// References are held by JS and HTMLMediaElement.
// The WebContentDecryptionModule has the same lifetime as this object.
class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ActiveDOMObject, public ScriptWrappable {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaKeys);
+ USING_GARBAGE_COLLECTED_MIXIN(MediaKeys);
DEFINE_WRAPPERTYPEINFO();
public:
static MediaKeys* create(ExecutionContext*, const WebVector<WebEncryptedMediaSessionType>& supportedSessionTypes, PassOwnPtr<WebContentDecryptionModule>);
@@ -105,7 +105,7 @@ private:
// before this object. This is due to WebMediaPlayerImpl (owned by
// HTMLMediaElement) possibly having a pointer to Decryptor created
// by WebContentDecryptionModuleImpl (owned by this object).
- RawPtrWillBeWeakMember<HTMLMediaElement> m_mediaElement;
+ WeakMember<HTMLMediaElement> m_mediaElement;
// Keep track of whether this object has been reserved by HTMLMediaElement
// (i.e. a setMediaKeys operation is in progress). Destruction of this

Powered by Google App Engine
This is Rietveld 408576698