Index: ash/display/display_color_manager_chromeos.cc |
diff --git a/ash/display/display_color_manager_chromeos.cc b/ash/display/display_color_manager_chromeos.cc |
index 060ee622a743e0f4b275689c2f0e2ec04d09a6f5..1ee0a5164578ae069eb90ee148017b06237d6067 100644 |
--- a/ash/display/display_color_manager_chromeos.cc |
+++ b/ash/display/display_color_manager_chromeos.cc |
@@ -18,7 +18,6 @@ |
#include "base/task_runner_util.h" |
#include "base/threading/sequenced_worker_pool.h" |
#include "chromeos/chromeos_paths.h" |
-#include "chromeos/chromeos_switches.h" |
#include "third_party/qcms/src/qcms.h" |
#include "ui/display/types/display_snapshot.h" |
#include "ui/display/types/gamma_ramp_rgb_entry.h" |
@@ -67,17 +66,6 @@ bool ParseFile(const base::FilePath& path, |
} |
base::FilePath PathForDisplaySnapshot(const ui::DisplaySnapshot* snapshot) { |
- if (gfx::Display::IsInternalDisplayId(snapshot->display_id())) { |
- const base::CommandLine* command_line = |
- base::CommandLine::ForCurrentProcess(); |
- if (command_line->HasSwitch( |
- chromeos::switches::kInternalDisplayColorProfileFile)) { |
- const base::FilePath& path = command_line->GetSwitchValuePath( |
- chromeos::switches::kInternalDisplayColorProfileFile); |
- return base::FilePath(path); |
- } |
- } |
- |
base::FilePath path; |
CHECK( |
PathService::Get(chromeos::DIR_DEVICE_COLOR_CALIBRATION_PROFILES, &path)); |