remove unnecessary overrides

This commit is contained in:
Cheng Zhao 2018-04-26 09:48:12 +09:00
parent 5e48dd9d45
commit cf70267871
3 changed files with 2 additions and 6 deletions

View file

@ -20,10 +20,10 @@
// on the fly.
// TODO(zcbenz): Add interface in NativeWidgetMac to allow overriding creating
// window delegate.
views::BridgedNativeWidget* bridget_view =
views::BridgedNativeWidget* bridged_view =
views::NativeWidgetMac::GetBridgeForNativeWindow(
shell->GetNativeWindow());
if ((self = [super initWithBridgedNativeWidget:bridget_view])) {
if ((self = [super initWithBridgedNativeWidget:bridged_view])) {
shell_ = shell;
is_zooming_ = false;
level_ = [shell_->GetNativeWindow() level];