Adapt to changes of Chrome 51 API changes
This commit is contained in:
parent
e7be3d0ef9
commit
851ef398fb
39 changed files with 157 additions and 196 deletions
|
@ -37,7 +37,7 @@ bool SaveIconToPath(const SkBitmap& bitmap, const base::FilePath& path) {
|
|||
NotificationPresenter* NotificationPresenter::Create() {
|
||||
if (!WindowsToastNotification::Initialize())
|
||||
return nullptr;
|
||||
scoped_ptr<NotificationPresenterWin> presenter(new NotificationPresenterWin);
|
||||
std::unique_ptr<NotificationPresenterWin> presenter(new NotificationPresenterWin);
|
||||
if (!presenter->Init())
|
||||
return nullptr;
|
||||
return presenter.release();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue