Convert PageGroup to using std::unique_ptr
[WebKit-https.git] / Source / WebCore / page / CaptionUserPreferencesMediaAF.cpp
index 739559c..67c0f8d 100644 (file)
@@ -40,7 +40,6 @@
 #include "LocalizedStrings.h"
 #include "Logging.h"
 #include "MediaControlElements.h"
-#include "PageGroup.h"
 #include "SoftLinking.h"
 #include "TextTrackCue.h"
 #include "TextTrackList.h"
@@ -141,7 +140,7 @@ static void userCaptionPreferencesChangedNotificationCallback(CFNotificationCent
 }
 #endif
 
-CaptionUserPreferencesMediaAF::CaptionUserPreferencesMediaAF(PageGroup* group)
+CaptionUserPreferencesMediaAF::CaptionUserPreferencesMediaAF(PageGroup& group)
     : CaptionUserPreferences(group)
 #if HAVE(MEDIA_ACCESSIBILITY_FRAMEWORK)
     , m_listeningForPreferenceChanges(false)