| Index: chrome/browser/guest_view/web_view/web_view_guest.cc
|
| diff --git a/chrome/browser/guest_view/web_view/web_view_guest.cc b/chrome/browser/guest_view/web_view/web_view_guest.cc
|
| index e6852d29fce3b0aa4b24fd72942b20ca89263643..674d0bddb59e340e85d26e5a2bee3216e0231880 100644
|
| --- a/chrome/browser/guest_view/web_view/web_view_guest.cc
|
| +++ b/chrome/browser/guest_view/web_view/web_view_guest.cc
|
| @@ -169,15 +169,10 @@ void ParsePartitionParam(const base::DictionaryValue& create_params,
|
|
|
| } // namespace
|
|
|
| -WebViewGuest::WebViewGuest(content::BrowserContext* browser_context,
|
| - int guest_instance_id)
|
| - : GuestView<WebViewGuest>(browser_context, guest_instance_id),
|
| - pending_context_menu_request_id_(0),
|
| - is_overriding_user_agent_(false),
|
| - chromevox_injected_(false),
|
| - current_zoom_factor_(1.0),
|
| - find_helper_(this),
|
| - javascript_dialog_helper_(this) {
|
| +// static
|
| +GuestViewBase* WebViewGuest::Create(content::BrowserContext* browser_context,
|
| + int guest_instance_id) {
|
| + return new WebViewGuest(browser_context, guest_instance_id);
|
| }
|
|
|
| // static
|
| @@ -698,6 +693,17 @@ bool WebViewGuest::ClearData(const base::Time remove_since,
|
| return true;
|
| }
|
|
|
| +WebViewGuest::WebViewGuest(content::BrowserContext* browser_context,
|
| + int guest_instance_id)
|
| + : GuestView<WebViewGuest>(browser_context, guest_instance_id),
|
| + pending_context_menu_request_id_(0),
|
| + is_overriding_user_agent_(false),
|
| + chromevox_injected_(false),
|
| + current_zoom_factor_(1.0),
|
| + find_helper_(this),
|
| + javascript_dialog_helper_(this) {
|
| +}
|
| +
|
| WebViewGuest::~WebViewGuest() {
|
| }
|
|
|
|
|