void DrawingAreaProxy::setSize(const IntSize& size) { if (m_size == size) return; m_size = size; sizeDidChange(); }
void DrawingAreaProxy::setSize(const IntSize& size, const IntSize& scrollOffset) { if (m_size == size && scrollOffset.isZero()) return; m_size = size; m_scrollOffset += scrollOffset; sizeDidChange(); }