diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2013-10-18 17:52:07 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-13 15:44:47 +0100 |
commit | e1f0ec1af9bcef187bc132e29101b3f7c9c367c1 (patch) | |
tree | 04a0be9cbd378cb99a705f18f696682a95d72b7a | |
parent | 74eb1254b30f36da937c8c47efe8cd88e942071b (diff) |
[Autotests fixes] Don't assert if there's no QWindow
Or we won't be able to run QWebEnginePage autotests in debug.
Change-Id: I0b479fe7de6bd10984201f292514c343a15135cd
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
-rw-r--r-- | lib/backing_store_qt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/backing_store_qt.cpp b/lib/backing_store_qt.cpp index e16e9ab03..8324e5d46 100644 --- a/lib/backing_store_qt.cpp +++ b/lib/backing_store_qt.cpp @@ -57,8 +57,6 @@ BackingStoreQt::BackingStoreQt(content::RenderWidgetHost *host, const gfx::Size , m_deviceScaleFactor((parent && parent->screen()) ? parent->screen()->devicePixelRatio() : 1) , m_pixelBuffer(size.width() * m_deviceScaleFactor, size.height() * m_deviceScaleFactor) { - Q_ASSERT(parent); - Q_ASSERT(parent->screen()); } BackingStoreQt::~BackingStoreQt() |