Index: Source/web/ColorChooserPopupUIController.h |
diff --git a/Source/web/ColorChooserPopupUIController.h b/Source/web/ColorChooserPopupUIController.h |
index 389eaf99a0e6a9276696c8cdbcf33e98f43007f4..b0694b3178782a2b200c672d6dc2eb1dfc26fdc5 100644 |
--- a/Source/web/ColorChooserPopupUIController.h |
+++ b/Source/web/ColorChooserPopupUIController.h |
@@ -39,7 +39,11 @@ class PagePopup; |
class ColorChooserPopupUIController final : public ColorChooserUIController, public PagePopupClient { |
public: |
- ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserClient*); |
+ static PassOwnPtrWillBeRawPtr<ColorChooserPopupUIController> create(LocalFrame* frame, ChromeClientImpl* chromeClient, ColorChooserClient* client) |
+ { |
+ return adoptPtrWillBeNoop(new ColorChooserPopupUIController(frame, chromeClient, client)); |
+ } |
+ |
virtual ~ColorChooserPopupUIController(); |
// ColorChooserUIController functions: |
@@ -60,14 +64,15 @@ public: |
virtual void didClosePopup() override; |
private: |
+ ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserClient*); |
+ |
void openPopup(); |
ChromeClientImpl* m_chromeClient; |
- ColorChooserClient* m_client; |
PagePopup* m_popup; |
Locale& m_locale; |
}; |
-} |
+} // namespace blink |
#endif // ColorChooserPopupUIController_h |