Index: chrome/browser/extensions/display_info_provider_chromeos.cc |
diff --git a/chrome/browser/extensions/display_info_provider_chromeos.cc b/chrome/browser/extensions/display_info_provider_chromeos.cc |
index b68a7d82d9a239f1c2515682c907a1f6454b0ebf..a9c84ccfb99d7e8fa63f67a39d83920383426619 100644 |
--- a/chrome/browser/extensions/display_info_provider_chromeos.cc |
+++ b/chrome/browser/extensions/display_info_provider_chromeos.cc |
@@ -304,9 +304,7 @@ bool DisplayInfoProviderChromeOS::SetInfo(const std::string& display_id_str, |
} |
int64_t display_id = target.id(); |
- // TODO(scottmg): Native is wrong http://crbug.com/133312 |
- const gfx::Display& primary = |
- gfx::Screen::GetNativeScreen()->GetPrimaryDisplay(); |
+ const gfx::Display& primary = gfx::Screen::GetScreen()->GetPrimaryDisplay(); |
if (!ValidateParamsForDisplay( |
info, target, display_manager, primary.id(), error)) { |