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

Unified Diff: chrome/browser/ui/webui/options/chromeos/display_options_handler.cc

Issue 12217120: Add IsInternal property to gfx::Display (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Get rid of static initializer Created 7 years, 10 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
Index: chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
index 7fcbc34126c8d1b62c10deac650392dc2b3812f9..1ec056dcf7eb972679c167d1bd46b92e07d67924 100644
--- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
@@ -159,8 +159,7 @@ void DisplayOptionsHandler::SendDisplayInfo(
js_display->SetString("name",
display_manager->GetDisplayNameFor(*display));
js_display->SetBoolean("isPrimary", display->id() == primary_id);
- js_display->SetBoolean("isInternal",
- display_manager->IsInternalDisplayId(display->id()));
+ js_display->SetBoolean("isInternal", display->IsInternal());
display_info.Set(i, js_display);
}
« no previous file with comments | « chrome/browser/extensions/api/system_info_display/display_info_provider_chromeos.cc ('k') | ui/gfx/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698