Fix compilation errors for Linux
This commit is contained in:
parent
93a27fd3a9
commit
88f6f5d1b2
3 changed files with 2 additions and 6 deletions
|
@ -761,10 +761,6 @@ void OffScreenRenderWidgetHostView::SetBeginFrameSource(
|
|||
cc::BeginFrameSource* source) {
|
||||
}
|
||||
|
||||
bool OffScreenRenderWidgetHostView::IsAutoResizeEnabled() const {
|
||||
return render_widget_host_->auto_resize_enabled();
|
||||
}
|
||||
|
||||
#endif // !defined(OS_MACOSX)
|
||||
|
||||
std::unique_ptr<cc::SoftwareOutputDevice>
|
||||
|
|
|
@ -49,7 +49,7 @@ SubmenuButton::SubmenuButton(const base::string16& title,
|
|||
gfx::Canvas::SizeStringInt(GetText(), GetFontList(), &text_width_,
|
||||
&text_height_, 0, 0);
|
||||
|
||||
SetHasInkDrop(true);
|
||||
SetInkDropMode(InkDropMode::ON);
|
||||
set_ink_drop_base_color(
|
||||
color_utils::BlendTowardOppositeLuma(background_color_, 0x61));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue