Index: components/autofill/content/browser/risk/fingerprint.cc |
diff --git a/components/autofill/content/browser/risk/fingerprint.cc b/components/autofill/content/browser/risk/fingerprint.cc |
index dacbd5f5b9f3b77edce2e136d4ad7a0de32e8ddc..c6f39560b61687cdb428d1ab7c4b581534301318 100644 |
--- a/components/autofill/content/browser/risk/fingerprint.cc |
+++ b/components/autofill/content/browser/risk/fingerprint.cc |
@@ -126,12 +126,10 @@ void AddAcceptLanguagesToFingerprint( |
// into the |machine|. |
void AddScreenInfoToFingerprint(const WebScreenInfo& screen_info, |
Fingerprint::MachineCharacteristics* machine) { |
- // TODO(scottmg): NativeScreen maybe wrong. http://crbug.com/133312 |
- machine->set_screen_count( |
- gfx::Screen::GetNativeScreen()->GetNumDisplays()); |
+ machine->set_screen_count(gfx::Screen::GetScreen()->GetNumDisplays()); |
const gfx::Size screen_size = |
- gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().GetSizeInPixel(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().GetSizeInPixel(); |
machine->mutable_screen_size()->set_width(screen_size.width()); |
machine->mutable_screen_size()->set_height(screen_size.height()); |