aw: Fix clearView implementation
commit83cbc841cb270e9ccea5a9912c9d9a6135ecb731
authorboliu <boliu@chromium.org>
Wed, 14 Jan 2015 03:16:59 +0000 (13 19:16 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 14 Jan 2015 03:17:50 +0000 (14 03:17 +0000)
treeed09f39708897d27cc99575d3c7a8a3d25032903
parentfb86c77a1633b6bceff1811649e09013d6e5a31d
aw: Fix clearView implementation

The early out was accidentally dropped in a refactor. Add it back here.
And also add unit tests for clear view.

BUG=448488

Review URL: https://codereview.chromium.org/846323002

Cr-Commit-Position: refs/heads/master@{#311399}
android_webview/browser/browser_view_renderer.cc
android_webview/browser/browser_view_renderer.h
android_webview/browser/browser_view_renderer_unittest.cc
android_webview/browser/test/fake_window.cc
android_webview/browser/test/fake_window.h
android_webview/browser/test/rendering_test.h