summaryrefslogtreecommitdiffstats
path: root/src/core/desktop_screen_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/desktop_screen_qt.cpp')
-rw-r--r--src/core/desktop_screen_qt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/desktop_screen_qt.cpp b/src/core/desktop_screen_qt.cpp
index 6469ad8c2..720cd1faf 100644
--- a/src/core/desktop_screen_qt.cpp
+++ b/src/core/desktop_screen_qt.cpp
@@ -70,7 +70,8 @@ std::vector<gfx::Display> DesktopScreenQt::GetAllDisplays() const
gfx::Display DesktopScreenQt::GetDisplayNearestWindow(gfx::NativeView window) const
{
- Q_UNREACHABLE();
+ // RenderViewHostImpl::OnStartDragging uses this to determine
+ // the scale factor for the view.
return gfx::Display();
}