Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: components/storage_monitor/storage_monitor_mac.mm

Issue 1917973002: mac: Remove IsOSLion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tapted Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm ('k') | content/browser/gpu.sb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_monitor_mac.mm
diff --git a/components/storage_monitor/storage_monitor_mac.mm b/components/storage_monitor/storage_monitor_mac.mm
index 7a658fb211b6bec42d7080044c79fdc69a4062c5..ed0392bd24c08c697286e57704ec53e1669d1830 100644
--- a/components/storage_monitor/storage_monitor_mac.mm
+++ b/components/storage_monitor/storage_monitor_mac.mm
@@ -201,10 +201,8 @@ void StorageMonitorMac::Init() {
DASessionScheduleWithRunLoop(
session_, CFRunLoopGetCurrent(), kCFRunLoopCommonModes);
- if (base::mac::IsOSLionOrLater()) {
- image_capture_device_manager_.reset(new ImageCaptureDeviceManager);
- image_capture_device_manager_->SetNotifications(receiver());
- }
+ image_capture_device_manager_.reset(new ImageCaptureDeviceManager);
+ image_capture_device_manager_->SetNotifications(receiver());
}
void StorageMonitorMac::UpdateDisk(
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm ('k') | content/browser/gpu.sb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698