OSDN Git Service

Only download the same poster URL once.
authorBen Murdoch <benm@google.com>
Mon, 20 Dec 2010 13:13:53 +0000 (13:13 +0000)
committerBen Murdoch <benm@google.com>
Mon, 20 Dec 2010 13:16:03 +0000 (13:16 +0000)
commit45e221ad80c1e62dfd4862da412ab37491517fa9
tree014795275ab45cbc06c8e3388c1870babb67412c
parentf337d2ac8590add0813f28d48c383f4c90786397
Only download the same poster URL once.

WebKit r64884 introduced code that calls setPoster multiple times. On
Android this causes the Java side to attempt to download the poster many
times which for a long video results in OOM. So if the poster hasn't
changed, don't try to download it again.

Bug:3277303
Change-Id: Ia401b78cf250af2c1fe0e600dea6d1da0971912a
WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp