summaryrefslogtreecommitdiffstats
path: root/views/window/non_client_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/non_client_view.cc')
-rw-r--r--views/window/non_client_view.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/views/window/non_client_view.cc b/views/window/non_client_view.cc
index 2060eb6..2ec823b 100644
--- a/views/window/non_client_view.cc
+++ b/views/window/non_client_view.cc
@@ -185,15 +185,11 @@ views::View* NonClientView::GetViewForPoint(const gfx::Point& point) {
}
bool NonClientView::GetAccessibleRole(AccessibilityTypes::Role* role) {
- DCHECK(role);
-
*role = AccessibilityTypes::ROLE_WINDOW;
return true;
}
bool NonClientView::GetAccessibleName(std::wstring* name) {
- DCHECK(name);
-
if (!accessible_name_.empty()) {
*name = accessible_name_;
return true;