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

Unified Diff: third_party/WebKit/Source/web/ExternalPopupMenu.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/web/ExternalPopupMenu.h
diff --git a/third_party/WebKit/Source/web/ExternalPopupMenu.h b/third_party/WebKit/Source/web/ExternalPopupMenu.h
index 497343c2eb26383c7c66604a21af42bfcdfdae55..e11ef4b9308408c2ccbf2afd523505d3739eb0ec 100644
--- a/third_party/WebKit/Source/web/ExternalPopupMenu.h
+++ b/third_party/WebKit/Source/web/ExternalPopupMenu.h
@@ -38,7 +38,6 @@
#include "public/web/WebExternalPopupMenuClient.h"
#include "web/WebExport.h"
#include "wtf/Compiler.h"
-#include <memory>
namespace blink {
@@ -86,7 +85,7 @@ private:
Member<HTMLSelectElement> m_ownerElement;
Member<LocalFrame> m_localFrame;
WebViewImpl& m_webView;
- std::unique_ptr<WebMouseEvent> m_syntheticEvent;
+ OwnPtr<WebMouseEvent> m_syntheticEvent;
Timer<ExternalPopupMenu> m_dispatchEventTimer;
// The actual implementor of the show menu.
WebExternalPopupMenu* m_webExternalPopupMenu;
« no previous file with comments | « third_party/WebKit/Source/web/DevToolsEmulator.cpp ('k') | third_party/WebKit/Source/web/ExternalPopupMenu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698