mac: UninstallView is not used
This commit is contained in:
parent
3b3e69f8b2
commit
498f5d65fd
2 changed files with 0 additions and 6 deletions
|
@ -141,7 +141,6 @@ class NativeWindowMac : public NativeWindow {
|
|||
void ShowWindowButton(NSWindowButton button);
|
||||
|
||||
void InstallView();
|
||||
void UninstallView();
|
||||
|
||||
base::scoped_nsobject<AtomNSWindow> window_;
|
||||
base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;
|
||||
|
|
|
@ -1819,11 +1819,6 @@ void NativeWindowMac::InstallView() {
|
|||
}
|
||||
}
|
||||
|
||||
void NativeWindowMac::UninstallView() {
|
||||
NSView* view = inspectable_web_contents()->GetView()->GetNativeView();
|
||||
[view removeFromSuperview];
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetStyleMask(bool on, NSUInteger flag) {
|
||||
// Changing the styleMask of a frameless windows causes it to change size so
|
||||
// we explicitly disable resizing while setting it.
|
||||
|
|
Loading…
Add table
Reference in a new issue