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

Unified Diff: third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.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/mediastream/NavigatorUserMedia.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.cpp b/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.cpp
index 3334efb98c397e5a850c6ab85b89bb1148aef822..9e831009de8166eac8b7559e0d6deca5def1d8e6 100644
--- a/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/NavigatorUserMedia.cpp
@@ -22,7 +22,7 @@ const char* NavigatorUserMedia::supplementName()
NavigatorUserMedia& NavigatorUserMedia::from(Navigator& navigator)
{
- NavigatorUserMedia* supplement = static_cast<NavigatorUserMedia*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ NavigatorUserMedia* supplement = static_cast<NavigatorUserMedia*>(Supplement<Navigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new NavigatorUserMedia();
provideTo(navigator, supplementName(), supplement);
@@ -43,7 +43,7 @@ MediaDevices* NavigatorUserMedia::mediaDevices(Navigator& navigator)
DEFINE_TRACE(NavigatorUserMedia)
{
visitor->trace(m_mediaDevices);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698