Index: extensions/browser/api/system_display/display_info_provider.cc |
diff --git a/extensions/browser/api/system_display/display_info_provider.cc b/extensions/browser/api/system_display/display_info_provider.cc |
index 50a4c938629238b3e852ccf9d0a718a25b5e477d..41c75707ec77e5ea29d6b66aac70b07ad248c557 100644 |
--- a/extensions/browser/api/system_display/display_info_provider.cc |
+++ b/extensions/browser/api/system_display/display_info_provider.cc |
@@ -32,11 +32,11 @@ int RotationToDegrees(gfx::Display::Rotation rotation) { |
} |
// Creates new DisplayUnitInfo struct for |display|. |
-core_api::system_display::DisplayUnitInfo* CreateDisplayUnitInfo( |
+api::system_display::DisplayUnitInfo* CreateDisplayUnitInfo( |
const gfx::Display& display, |
int64 primary_display_id) { |
- core_api::system_display::DisplayUnitInfo* unit = |
- new core_api::system_display::DisplayUnitInfo(); |
+ api::system_display::DisplayUnitInfo* unit = |
+ new api::system_display::DisplayUnitInfo(); |
const gfx::Rect& bounds = display.bounds(); |
const gfx::Rect& work_area = display.work_area(); |
unit->id = base::Int64ToString(display.id()); |
@@ -81,7 +81,7 @@ DisplayInfo DisplayInfoProvider::GetAllDisplaysInfo() { |
std::vector<gfx::Display> displays = screen->GetAllDisplays(); |
DisplayInfo all_displays; |
for (const gfx::Display& display : displays) { |
- linked_ptr<core_api::system_display::DisplayUnitInfo> unit( |
+ linked_ptr<api::system_display::DisplayUnitInfo> unit( |
CreateDisplayUnitInfo(display, primary_id)); |
UpdateDisplayUnitInfoForPlatform(display, unit.get()); |
all_displays.push_back(unit); |