remove GetSizeForNewRenderView
This commit is contained in:
parent
5c690ea46e
commit
8d1c17e036
2 changed files with 0 additions and 11 deletions
|
@ -1642,16 +1642,6 @@ void WebContents::Invalidate() {
|
|||
}
|
||||
}
|
||||
|
||||
gfx::Size WebContents::GetSizeForNewRenderView(
|
||||
content::WebContents* web_contents) const {
|
||||
auto relay = NativeWindowRelay::FromWebContents(web_contents);
|
||||
if (relay) {
|
||||
return relay->window->GetSize();
|
||||
}
|
||||
|
||||
return gfx::Size();
|
||||
}
|
||||
|
||||
void WebContents::SetZoomLevel(double level) {
|
||||
zoom_controller_->SetZoomLevel(level);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue