summaryrefslogtreecommitdiff
path: root/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc')
-rw-r--r--chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc b/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
index 0bdc1470708..a0f75cc909f 100644
--- a/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
+++ b/chromium/ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
@@ -339,17 +339,6 @@ void DesktopWindowTreeHostLinux::DestroyNonClientEventFilter() {
non_client_window_event_filter_.reset();
}
-void DesktopWindowTreeHostLinux::GetWindowMask(const gfx::Size& size,
- SkPath* window_mask) {
- DCHECK(window_mask);
- Widget* widget = native_widget_delegate()->AsWidget();
- if (widget->non_client_view()) {
- // Some frame views define a custom (non-rectangular) window mask. If
- // so, use it to define the window shape. If not, fall through.
- widget->non_client_view()->GetWindowMask(size, window_mask);
- }
-}
-
void DesktopWindowTreeHostLinux::OnLostMouseGrab() {
dispatcher()->OnHostLostMouseGrab();
}