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
|
@ -585,11 +585,13 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
void DraggableRegionsChanged(
|
||||
const std::vector<blink::mojom::DraggableRegionPtr>& regions,
|
||||
content::WebContents* contents) override;
|
||||
#if BUILDFLAG(ENABLE_PRINTING)
|
||||
void PrintCrossProcessSubframe(
|
||||
content::WebContents* web_contents,
|
||||
const gfx::Rect& rect,
|
||||
int document_cookie,
|
||||
content::RenderFrameHost* subframe_host) const override;
|
||||
#endif
|
||||
|
||||
// content::WebContentsObserver:
|
||||
void BeforeUnloadFired(bool proceed) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue