crosswalk-xdk/crosswalk — pull request #5 by kurli (2013-11-22 03:16:52+00:00)
Title: [Android] Remove assertion for is_valid() check in XWalkExtensionAndroid

Application will be crashed at start time when secondary display opened in debug version.
Root cause:
At start time, PresentationExtension will be created and send broadcastMessage,
but the presentation XWalkExtensionInstance has not been created at this time.
There will be an assertion before sending messages which will check whether any instance created.
Solution:
Remove the assertion, only check is_valid(), if it's not valid, just return.
I think it's acceptable for extensions to send message even no instance created,
we can just ignore the message.

BUG=https://crosswalk-project.org/jira/browse/XWALK-398