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

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, 9 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 6237c7b09ada91f73a98f80fe6c77c8f18dcd8f7..8541355807d97fb4d3218d31136e8dd2414ee4df 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h
@@ -51,7 +51,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 ActiveScriptWrappable, 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>);
@@ -107,7 +107,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