Fix emitting did-attach event

This commit is contained in:
Cheng Zhao 2015-08-11 15:59:16 +08:00
parent e6a2b0a479
commit a8681b0072

View file

@ -162,6 +162,7 @@ void WebViewGuestDelegate::WillAttach(
const base::Closure& completion_callback) { const base::Closure& completion_callback) {
embedder_web_contents_ = embedder_web_contents; embedder_web_contents_ = embedder_web_contents;
is_full_page_plugin_ = is_full_page_plugin; is_full_page_plugin_ = is_full_page_plugin;
completion_callback.Run();
} }
void WebViewGuestDelegate::GuestSizeChangedDueToAutoSize( void WebViewGuestDelegate::GuestSizeChangedDueToAutoSize(