blob: 2a1ffc8d4ca0f12514ee481e25461d3cb96a39e6 (
plain) (
tree)
|
|
--- chrome/browser/ui/views/frame/browser_frame_view_linux.cc.orig 2024-04-19 13:02:56 UTC
+++ chrome/browser/ui/views/frame/browser_frame_view_linux.cc
@@ -60,7 +60,7 @@ gfx::ShadowValues BrowserFrameViewLinux::GetShadowValu
void BrowserFrameViewLinux::PaintRestoredFrameBorder(
gfx::Canvas* canvas) const {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const bool tiled = frame()->tiled();
#else
const bool tiled = false;
@@ -104,7 +104,7 @@ void BrowserFrameViewLinux::OnWindowButtonOrderingChan
}
float BrowserFrameViewLinux::GetRestoredCornerRadiusDip() const {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
const bool tiled = frame()->tiled();
#else
const bool tiled = false;
|