fix: build failure when printing is disabled (#46283)
fix: ftbfs when printing is disabled
This commit is contained in:
parent
6e44662f15
commit
48a38c0289
3 changed files with 6 additions and 1 deletions
|
@ -1988,6 +1988,7 @@ void WebContents::DraggableRegionsChanged(
|
|||
draggable_region_ = DraggableRegionsToSkRegion(regions);
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_PRINTING)
|
||||
void WebContents::PrintCrossProcessSubframe(
|
||||
content::WebContents* web_contents,
|
||||
const gfx::Rect& rect,
|
||||
|
@ -1998,6 +1999,7 @@ void WebContents::PrintCrossProcessSubframe(
|
|||
client->PrintCrossProcessSubframe(rect, document_cookie, subframe_host);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
SkRegion* WebContents::draggable_region() {
|
||||
return g_disable_draggable_regions ? nullptr : draggable_region_.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue