Minor changes to match style, init variables
This commit is contained in:
		
					parent
					
						
							
								42cb3461af
							
						
					
				
			
			
				commit
				
					
						e0518444da
					
				
			
		
					 3 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -993,7 +993,7 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {
 | 
				
			||||||
    return;
 | 
					    return;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (guest_delegate_ && !guest_delegate_->Attached()) {
 | 
					  if (guest_delegate_ && !guest_delegate_->IsAttached()) {
 | 
				
			||||||
    return;
 | 
					    return;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,6 +28,7 @@ WebViewGuestDelegate::WebViewGuestDelegate()
 | 
				
			||||||
      guest_host_(nullptr),
 | 
					      guest_host_(nullptr),
 | 
				
			||||||
      auto_size_enabled_(false),
 | 
					      auto_size_enabled_(false),
 | 
				
			||||||
      is_full_page_plugin_(false),
 | 
					      is_full_page_plugin_(false),
 | 
				
			||||||
 | 
					      attached_(false),
 | 
				
			||||||
      api_web_contents_(nullptr) {}
 | 
					      api_web_contents_(nullptr) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WebViewGuestDelegate::~WebViewGuestDelegate() {
 | 
					WebViewGuestDelegate::~WebViewGuestDelegate() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -48,7 +48,7 @@ class WebViewGuestDelegate : public content::BrowserPluginGuestDelegate,
 | 
				
			||||||
  void SetSize(const SetSizeParams& params);
 | 
					  void SetSize(const SetSizeParams& params);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Return true if attached.
 | 
					  // Return true if attached.
 | 
				
			||||||
  bool Attached() const { return attached_; }
 | 
					  bool IsAttached() const { return attached_; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 protected:
 | 
					 protected:
 | 
				
			||||||
  // content::WebContentsObserver:
 | 
					  // content::WebContentsObserver:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue