void QQuickWebPagePrivate::setDrawingAreaSize(const QSize& size) { DrawingAreaProxy* drawingArea = webPageProxy->drawingArea(); if (!drawingArea) return; drawingArea->setSize(WebCore::IntSize(size), WebCore::IntSize()); }
void EwkView::setSize(const IntSize& size) { m_size = size; DrawingAreaProxy* drawingArea = page()->drawingArea(); if (!drawingArea) return; drawingArea->setSize(m_size, IntSize()); webView()->updateViewportSize(); }