mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DISALLOW_ macro from libcef/ (see issue #3234)
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
This commit is contained in:
@@ -74,6 +74,10 @@ class CefMenuRunner;
|
||||
// indicated.
|
||||
class CefBrowserPlatformDelegate {
|
||||
public:
|
||||
CefBrowserPlatformDelegate(const CefBrowserPlatformDelegate&) = delete;
|
||||
CefBrowserPlatformDelegate& operator=(const CefBrowserPlatformDelegate&) =
|
||||
delete;
|
||||
|
||||
// Create a new CefBrowserPlatformDelegate instance. May be called on multiple
|
||||
// threads.
|
||||
static std::unique_ptr<CefBrowserPlatformDelegate> Create(
|
||||
@@ -368,8 +372,6 @@ class CefBrowserPlatformDelegate {
|
||||
// Not owned by this object.
|
||||
content::WebContents* web_contents_ = nullptr;
|
||||
CefBrowserHostBase* browser_ = nullptr;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(CefBrowserPlatformDelegate);
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_BROWSER_PLATFORM_DELEGATE_H_
|
||||
|
Reference in New Issue
Block a user