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

Unified Diff: ash/mus/bridge/wm_root_window_controller_mus.cc

Issue 2611253002: Removes some dead code (Closed)
Patch Set: merge Created 3 years, 11 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
« no previous file with comments | « ash/mus/bridge/wm_root_window_controller_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_root_window_controller_mus.cc
diff --git a/ash/mus/bridge/wm_root_window_controller_mus.cc b/ash/mus/bridge/wm_root_window_controller_mus.cc
index eedb2eb1ef8736f89821f72ed3e05a09514f287c..f5393646904c2d29aa4fd2d72a59a2794b2ffd22 100644
--- a/ash/mus/bridge/wm_root_window_controller_mus.cc
+++ b/ash/mus/bridge/wm_root_window_controller_mus.cc
@@ -62,14 +62,6 @@ gfx::Point WmRootWindowControllerMus::ConvertPointToScreen(
return point_in_root;
}
-gfx::Point WmRootWindowControllerMus::ConvertPointFromScreen(
- const WmWindowMus* target,
- const gfx::Point& point) const {
- gfx::Point result = point;
- result -= GetDisplay().bounds().OffsetFromOrigin();
- return target->GetRootWindow()->ConvertPointToTarget(target, result);
-}
-
const display::Display& WmRootWindowControllerMus::GetDisplay() const {
return root_window_controller_->display();
}
« no previous file with comments | « ash/mus/bridge/wm_root_window_controller_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698