diff options
-rw-r--r-- | Source/WebKit/android/jni/WebCoreViewBridge.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/WebKit/android/jni/WebCoreViewBridge.h b/Source/WebKit/android/jni/WebCoreViewBridge.h index f247602..b04a0f9 100644 --- a/Source/WebKit/android/jni/WebCoreViewBridge.h +++ b/Source/WebKit/android/jni/WebCoreViewBridge.h @@ -38,7 +38,14 @@ namespace WebCore class WebCoreViewBridge : public WebCoreRefObject { public: - WebCoreViewBridge() { } + WebCoreViewBridge() + { + m_bounds.setWidth(320); + m_bounds.setHeight(240); + m_visibleBounds = m_bounds; + m_windowBounds = m_bounds; + } + virtual ~WebCoreViewBridge() { } virtual void draw(WebCore::GraphicsContext* ctx, |