refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633)
This commit is contained in:
		
					parent
					
						
							
								2a2a1a834c
							
						
					
				
			
			
				commit
				
					
						65a980c673
					
				
			
		
					 231 changed files with 918 additions and 576 deletions
				
			
		| 
						 | 
				
			
			@ -25,6 +25,10 @@ class ElectronRendererClient : public RendererClientBase {
 | 
			
		|||
  ElectronRendererClient();
 | 
			
		||||
  ~ElectronRendererClient() override;
 | 
			
		||||
 | 
			
		||||
  // disable copy
 | 
			
		||||
  ElectronRendererClient(const ElectronRendererClient&) = delete;
 | 
			
		||||
  ElectronRendererClient& operator=(const ElectronRendererClient&) = delete;
 | 
			
		||||
 | 
			
		||||
  // electron::RendererClientBase:
 | 
			
		||||
  void DidCreateScriptContext(v8::Handle<v8::Context> context,
 | 
			
		||||
                              content::RenderFrame* render_frame) override;
 | 
			
		||||
| 
						 | 
				
			
			@ -58,8 +62,6 @@ class ElectronRendererClient : public RendererClientBase {
 | 
			
		|||
  // its script context. Doing so in a web page without scripts would trigger
 | 
			
		||||
  // assertion, so we have to keep a book of injected web frames.
 | 
			
		||||
  std::set<content::RenderFrame*> injected_frames_;
 | 
			
		||||
 | 
			
		||||
  DISALLOW_COPY_AND_ASSIGN(ElectronRendererClient);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
}  // namespace electron
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue