diff options
Diffstat (limited to 'chrome/browser/ui/ash/screenshot_taker.cc')
-rw-r--r-- | chrome/browser/ui/ash/screenshot_taker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc index e0fecd4..4c5f72d 100644 --- a/chrome/browser/ui/ash/screenshot_taker.cc +++ b/chrome/browser/ui/ash/screenshot_taker.cc @@ -192,7 +192,7 @@ void SaveScreenshotInternal(const ShowNotificationCallback& callback, DCHECK(!local_path.empty()); ScreenshotTakerObserver::Result result = ScreenshotTakerObserver::SCREENSHOT_SUCCESS; - if (static_cast<size_t>(file_util::WriteFile( + if (static_cast<size_t>(base::WriteFile( local_path, reinterpret_cast<char*>(&(png_data->data()[0])), png_data->size())) != png_data->size()) { |