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

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenScreenOrientation.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/screen_orientation/ScreenScreenOrientation.cpp
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenScreenOrientation.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenScreenOrientation.cpp
index ddf0947779d91bda704b397473cb688cb9c827a9..410fd87acaf1424f8b5a2e46eb78052c6aa072ec 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenScreenOrientation.cpp
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenScreenOrientation.cpp
@@ -13,7 +13,7 @@ namespace blink {
// static
ScreenScreenOrientation& ScreenScreenOrientation::from(Screen& screen)
{
- ScreenScreenOrientation* supplement = static_cast<ScreenScreenOrientation*>(HeapSupplement<Screen>::from(screen, supplementName()));
+ ScreenScreenOrientation* supplement = static_cast<ScreenScreenOrientation*>(Supplement<Screen>::from(screen, supplementName()));
if (!supplement) {
supplement = new ScreenScreenOrientation();
provideTo(screen, supplementName(), supplement);
@@ -42,7 +42,7 @@ const char* ScreenScreenOrientation::supplementName()
DEFINE_TRACE(ScreenScreenOrientation)
{
visitor->trace(m_orientation);
- HeapSupplement<Screen>::trace(visitor);
+ Supplement<Screen>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698