Merge "DO NOT MERGE-Refire the redraw event if webkit wasn't ready" into honeycomb-mr2
This commit is contained in:
committed by
Android (Google) Code Review
commit
64796477f6
@@ -2017,7 +2017,8 @@ final class WebViewCore {
|
||||
if (DebugFlags.WEB_VIEW_CORE) Log.v(LOGTAG, "webkitDraw start");
|
||||
draw.mBaseLayer = nativeRecordContent(draw.mInvalRegion, draw.mContentSize);
|
||||
if (draw.mBaseLayer == 0) {
|
||||
if (DebugFlags.WEB_VIEW_CORE) Log.v(LOGTAG, "webkitDraw abort");
|
||||
if (DebugFlags.WEB_VIEW_CORE) Log.v(LOGTAG, "webkitDraw abort, resending draw message");
|
||||
mEventHub.sendMessage(Message.obtain(null, EventHub.WEBKIT_DRAW));
|
||||
return;
|
||||
}
|
||||
webkitDraw(draw);
|
||||
|
||||
Reference in New Issue
Block a user