Index: chrome/browser/chromeos/display/output_protection_delegate.cc |
diff --git a/chrome/browser/chromeos/display/output_protection_delegate.cc b/chrome/browser/chromeos/display/output_protection_delegate.cc |
index 412960c78a52a00ece4e110c38425ccab70ce034..ac6dc08f91d6a0445f1aca9809d160f180f86f1c 100644 |
--- a/chrome/browser/chromeos/display/output_protection_delegate.cc |
+++ b/chrome/browser/chromeos/display/output_protection_delegate.cc |
@@ -26,7 +26,7 @@ bool GetCurrentDisplayId(content::RenderFrameHost* rfh, int64_t* display_id) { |
if (!screen) |
return false; |
display::Display display = |
- screen->GetDisplayNearestWindow(rfh->GetNativeView()); |
+ screen->GetDisplayNearestView(rfh->GetNativeView()); |
*display_id = display.id(); |
return true; |
} |