Index: third_party/WebKit/Source/web/ExternalPopupMenu.h |
diff --git a/third_party/WebKit/Source/web/ExternalPopupMenu.h b/third_party/WebKit/Source/web/ExternalPopupMenu.h |
index e11ef4b9308408c2ccbf2afd523505d3739eb0ec..497343c2eb26383c7c66604a21af42bfcdfdae55 100644 |
--- a/third_party/WebKit/Source/web/ExternalPopupMenu.h |
+++ b/third_party/WebKit/Source/web/ExternalPopupMenu.h |
@@ -38,6 +38,7 @@ |
#include "public/web/WebExternalPopupMenuClient.h" |
#include "web/WebExport.h" |
#include "wtf/Compiler.h" |
+#include <memory> |
namespace blink { |
@@ -85,7 +86,7 @@ private: |
Member<HTMLSelectElement> m_ownerElement; |
Member<LocalFrame> m_localFrame; |
WebViewImpl& m_webView; |
- OwnPtr<WebMouseEvent> m_syntheticEvent; |
+ std::unique_ptr<WebMouseEvent> m_syntheticEvent; |
Timer<ExternalPopupMenu> m_dispatchEventTimer; |
// The actual implementor of the show menu. |
WebExternalPopupMenu* m_webExternalPopupMenu; |