From 0150e284d85a95236481fa58c868892da3341bb0 Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Mon, 22 Nov 2010 13:01:53 -0800 Subject: Fix browser ANR when using Hardware Acceleration Bug:3217947 Change-Id: Ic0da5c4c131026a88afff2acc254a23a4d6a42ff --- WebCore/platform/graphics/android/GLWebViewState.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'WebCore/platform/graphics/android/GLWebViewState.cpp') diff --git a/WebCore/platform/graphics/android/GLWebViewState.cpp b/WebCore/platform/graphics/android/GLWebViewState.cpp index bcb5cbf..4080a8a 100644 --- a/WebCore/platform/graphics/android/GLWebViewState.cpp +++ b/WebCore/platform/graphics/android/GLWebViewState.cpp @@ -77,6 +77,9 @@ GLWebViewState::GLWebViewState() { m_tiledPageA = new TiledPage(FIRST_TILED_PAGE_ID, this); m_tiledPageB = new TiledPage(SECOND_TILED_PAGE_ID, this); + m_viewport.setEmpty(); + m_viewportTileBounds.setEmpty(); + m_preZoomBounds.setEmpty(); #ifdef DEBUG_COUNT gGLWebViewStateCount++; #endif -- cgit v1.1