diff --git a/atom/browser/api/atom_api_window.cc b/atom/browser/api/atom_api_window.cc index 516d322b3a26..aa9c9cca683d 100644 --- a/atom/browser/api/atom_api_window.cc +++ b/atom/browser/api/atom_api_window.cc @@ -729,7 +729,8 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) { window_->SetAspectRatio(aspect_ratio, extra_size); } -void Window::PreviewFile(const std::string& filepath, const std::string& filename) { +void Window::PreviewFile(const std::string& filepath, + const std::string& filename) { window_->PreviewFile(filepath, filename); } diff --git a/atom/browser/native_window.cc b/atom/browser/native_window.cc index d01e6fbb2119..140dd1e3b6f8 100644 --- a/atom/browser/native_window.cc +++ b/atom/browser/native_window.cc @@ -374,7 +374,8 @@ void NativeWindow::SetAspectRatio(double aspect_ratio, aspect_ratio_extraSize_ = extra_size; } -void NativeWindow::PreviewFile(const std::string& filepath, const std::string& filename) { +void NativeWindow::PreviewFile(const std::string& filepath, + const std::string& filename) { } void NativeWindow::RequestToClosePage() { diff --git a/atom/browser/native_window.h b/atom/browser/native_window.h index 9c4116a68bf5..e3b9fe563e7e 100644 --- a/atom/browser/native_window.h +++ b/atom/browser/native_window.h @@ -176,7 +176,8 @@ class NativeWindow : public base::SupportsUserData, double GetAspectRatio(); gfx::Size GetAspectRatioExtraSize(); virtual void SetAspectRatio(double aspect_ratio, const gfx::Size& extra_size); - virtual void PreviewFile(const std::string& filepath, const std::string& filename); + virtual void PreviewFile(const std::string& filepath, + const std::string& filename); base::WeakPtr GetWeakPtr() { return weak_factory_.GetWeakPtr();