Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: services/native_viewport/platform_viewport_x11.cc

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/native_viewport/platform_viewport_x11.cc
diff --git a/services/native_viewport/platform_viewport_x11.cc b/services/native_viewport/platform_viewport_x11.cc
index d45215085cebfb319776115d44dadcebeb888ead..b8b6bd230482e88b66e05c68561d096206cc37cd 100644
--- a/services/native_viewport/platform_viewport_x11.cc
+++ b/services/native_viewport/platform_viewport_x11.cc
@@ -144,7 +144,8 @@ class PlatformViewportX11 : public PlatformViewport,
void OnLostCapture() override {}
- void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) override {
+ void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget,
+ float device_pixel_ratio) override {
jamesr 2015/08/18 20:11:33 ick, can we avoid having this? or do we need this
spang 2015/08/18 20:25:31 We don't need it - it always passes 1.f. On CrOS i
delegate_->OnAcceleratedWidgetAvailable(widget);
}

Powered by Google App Engine
This is Rietveld 408576698