mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Fix Debug building on Windows
This commit is contained in:
@@ -100,10 +100,6 @@ void ViewsDelegate::OnBeforeWidgetInit(
|
||||
}
|
||||
|
||||
|
||||
base::TimeDelta ViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() {
|
||||
return base::TimeDelta();
|
||||
}
|
||||
|
||||
bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
|
||||
#if defined(OS_LINUX)
|
||||
// On Ubuntu Unity, the system always provides a title bar for maximized
|
||||
|
||||
@@ -51,7 +51,6 @@ class ViewsDelegate : public views::ViewsDelegate {
|
||||
void OnBeforeWidgetInit(
|
||||
views::Widget::InitParams* params,
|
||||
views::internal::NativeWidgetDelegate* delegate) override;
|
||||
base::TimeDelta GetDefaultTextfieldObscuredRevealDuration() override;
|
||||
bool WindowManagerProvidesTitleBar(bool maximized) override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -56,7 +56,7 @@ bool NotificationPresenterWin::Init() {
|
||||
base::string16 NotificationPresenterWin::SaveIconToFilesystem(
|
||||
const SkBitmap& icon, const GURL& origin) {
|
||||
std::string filename = base::MD5String(origin.spec()) + ".png";
|
||||
base::FilePath path = temp_dir_.path().Append(base::UTF8ToUTF16(filename));
|
||||
base::FilePath path = temp_dir_.GetPath().Append(base::UTF8ToUTF16(filename));
|
||||
if (base::PathExists(path))
|
||||
return path.value();
|
||||
if (SaveIconToPath(icon, path))
|
||||
|
||||
2
brightray/vendor/libchromiumcontent
vendored
2
brightray/vendor/libchromiumcontent
vendored
Submodule brightray/vendor/libchromiumcontent updated: 446afde7ff...b71afafe59
Reference in New Issue
Block a user