Fix build for future versions of Clang.
[WebKit-https.git] / Source / WebCore / page / MainFrame.h
index ca5d090..c221167 100644 (file)
@@ -63,8 +63,8 @@ public:
     void removeLatchingStateForTarget(Element&);
 #endif // PLATFORM(MAC)
 
-#if USE(APPLE_INTERNAL_SDK)
-#include <WebKitAdditions/MainFrameMembers.h>
+#if ENABLE(APPLE_PAY)
+    PaymentCoordinator& paymentCoordinator() const { return *m_paymentCoordinator; }
 #endif
 
 private:
@@ -83,12 +83,11 @@ private:
 
     std::unique_ptr<WheelEventDeltaFilter> m_recentWheelEventDeltaFilter;
     std::unique_ptr<PageOverlayController> m_pageOverlayController;
-};
 
-inline bool Frame::isMainFrame() const
-{
-    return this == &m_mainFrame;
-}
+#if ENABLE(APPLE_PAY)
+    std::unique_ptr<PaymentCoordinator> m_paymentCoordinator;
+#endif
+};
 
 }