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

Unified Diff: third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp

Issue 1846913009: HeapSupplements are now just Supplements. (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/remoteplayback/HTMLMediaElementRemotePlayback.cpp
diff --git a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
index 1e8da581c1100c1333211a44d1437590b9cece74..f2381513b8eb26a7ba7e794d28c0a9c47b50f472 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
+++ b/third_party/WebKit/Source/modules/remoteplayback/HTMLMediaElementRemotePlayback.cpp
@@ -28,7 +28,7 @@ void HTMLMediaElementRemotePlayback::setBooleanAttribute(const QualifiedName& na
// static
HTMLMediaElementRemotePlayback& HTMLMediaElementRemotePlayback::from(HTMLMediaElement& element)
{
- HTMLMediaElementRemotePlayback* supplement = static_cast<HTMLMediaElementRemotePlayback*>(HeapSupplement<HTMLMediaElement>::from(element, supplementName()));
+ HTMLMediaElementRemotePlayback* supplement = static_cast<HTMLMediaElementRemotePlayback*>(Supplement<HTMLMediaElement>::from(element, supplementName()));
if (!supplement) {
supplement = new HTMLMediaElementRemotePlayback();
provideTo(element, supplementName(), supplement);
@@ -59,7 +59,7 @@ const char* HTMLMediaElementRemotePlayback::supplementName()
DEFINE_TRACE(HTMLMediaElementRemotePlayback)
{
visitor->trace(m_remote);
- HeapSupplement<HTMLMediaElement>::trace(visitor);
+ Supplement<HTMLMediaElement>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698