diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-08 03:08:50 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-08 03:08:50 +0000 |
commit | f4d884436d740ef9eec7b5a6e9b027f5b2ce9d37 (patch) | |
tree | fa9e3f800101e8d369d2740ef57b21522961d088 /android_webview/unittestjava/src/org | |
parent | 9b0a21d68db929eff7d65cf85b7c768eb094af26 (diff) | |
download | chromium_src-f4d884436d740ef9eec7b5a6e9b027f5b2ce9d37.zip chromium_src-f4d884436d740ef9eec7b5a6e9b027f5b2ce9d37.tar.gz chromium_src-f4d884436d740ef9eec7b5a6e9b027f5b2ce9d37.tar.bz2 |
Fix hang in Android WebView release build tests
SurfaceTexture.detachFromGLContext is not present in ICS and the old
workaround of using a NullCompositor lead to the test creating
TextureImageTransportSurface in ImageTransportSurface::CreateSurface.
This path is wrong and not well tested in single-process mode and recently
lead to a deadlock hang in release build only tests (see bug).
Fixed by creating the real compositor but just avoid calling the missing
method in ICS. The Java method is loaded lazily so this does not cause
an error at run time.
BUG=167236,161864
Android only change. Ran through Android trybots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11787031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/unittestjava/src/org')
0 files changed, 0 insertions, 0 deletions