Forward devicePixelRatio to WebCore Page
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Fri, 31 Jan 2014 12:59:23 +0000 (13:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 31 Jan 2014 13:44:21 +0000 (14:44 +0100)
commit64a4dc759958b289a6b1ecb5cb4adc91f4cbef07
treee6d1b5cc8ef307a5da2aa1778fd5a500305a28e2
parentf5d7c6904da2dc5483bdfc202cb921b1c816f57a
Forward devicePixelRatio to WebCore Page

The device pixel ratio must be set on Page for CSS image set and CSS
media queries to work correctly.

Task-number: QTBUG-36190
Change-Id: I76694c1375194f35df7f62e942bc8565f065a3bc
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp
Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.h
Source/WebKit/qt/WidgetApi/qwebpage.cpp