mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision d483fb77 (#474934)
- CefLifeSpanHandler::OnBeforePopup is now called on the UI thread. - Remove CefBrowserSettings.javascript_open_windows which is no longer supported.
This commit is contained in:
@@ -38,10 +38,13 @@ class UserData : public base::SupportsUserData::Data {
|
||||
|
||||
// The CefLayout previously associated with |owner_view|, if any, will be
|
||||
// destroyed by this call.
|
||||
owner_view->SetUserData(UserDataKey(), new UserData(cef_layout));
|
||||
owner_view->SetUserData(UserDataKey(),
|
||||
base::WrapUnique(new UserData(cef_layout)));
|
||||
}
|
||||
|
||||
private:
|
||||
friend std::default_delete<UserData>;
|
||||
|
||||
explicit UserData(CefRefPtr<CefLayout> cef_layout) : layout_(cef_layout) {
|
||||
DCHECK(layout_);
|
||||
}
|
||||
|
Reference in New Issue
Block a user