Index: ui/views/widget/drop_helper.cc |
diff --git a/ui/views/widget/drop_helper.cc b/ui/views/widget/drop_helper.cc |
index 5b70260460087a0c7e4b6af3b3db98850d23c3a5..15823514d7b0387eaefd4385bf61cfda0a5a5c3d 100644 |
--- a/ui/views/widget/drop_helper.cc |
+++ b/ui/views/widget/drop_helper.cc |
@@ -96,14 +96,14 @@ View* DropHelper::CalculateTargetViewImpl( |
// Walk the tree, stopping at target_view_ as we know it'll accept the |
// drop. |
while (view && view != target_view_ && |
- (!view->IsEnabled() || !view->CanDrop(data))) { |
+ (!view->enabled() || !view->CanDrop(data))) { |
view = view->parent(); |
} |
#else |
int formats = 0; |
std::set<OSExchangeData::CustomFormat> custom_formats; |
while (view && view != target_view_) { |
- if (view->IsEnabled() && |
+ if (view->enabled() && |
view->GetDropFormats(&formats, &custom_formats) && |
data.HasAnyFormat(formats, custom_formats) && |
(!check_can_drop || view->CanDrop(data))) { |