OSDN Git Service

Fix the crash with sites having youtube video. It doesn't crash while loading.
authorGrace Kloba <klobag@google.com>
Fri, 28 Aug 2009 23:29:07 +0000 (16:29 -0700)
committerGrace Kloba <klobag@google.com>
Fri, 28 Aug 2009 23:29:07 +0000 (16:29 -0700)
commitdeb338ee1849d227ba106f707fb53c0f18b49518
tree2ea2a6f9658157b6520ecee7058c1877a5bb5bde
parent194211f214e16956c937d03c2aff03936c22f928
Fix the crash with sites having youtube video. It doesn't crash while loading.
It crashes when you leave the site.

frame->view() returns m_view.get(). So we don't want to call adoptRef which
will cause a deref.

I verified that when you leave the page, the new widget is removed.
WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp