Fix win/linux compile
This commit is contained in:
		
					parent
					
						
							
								9382d48708
							
						
					
				
			
			
				commit
				
					
						f0ca9dff81
					
				
			
		
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -95,9 +95,9 @@ void OpenExternal(const GURL& url, bool activate, | ||||||
|   bool opened = OpenExternal(url, activate); |   bool opened = OpenExternal(url, activate); | ||||||
|   if (!opened) { |   if (!opened) { | ||||||
|     callback.Run(v8::Exception::Error( |     callback.Run(v8::Exception::Error( | ||||||
|       v8::String::NewFromUtf8(isolate, @"Failed to open"))); |       v8::String::NewFromUtf8(isolate, "Failed to open"))); | ||||||
|   } else { |   } else { | ||||||
|     callback.Run(v8::Null(isolate);) |     callback.Run(v8::Null(isolate)); | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -322,9 +322,9 @@ void OpenExternal(const base::string16& url, bool activate, | ||||||
|   bool opened = OpenExternal(url, activate); |   bool opened = OpenExternal(url, activate); | ||||||
|   if (!opened) { |   if (!opened) { | ||||||
|     callback.Run(v8::Exception::Error( |     callback.Run(v8::Exception::Error( | ||||||
|       v8::String::NewFromUtf8(isolate, @"Failed to open"))); |       v8::String::NewFromUtf8(isolate, "Failed to open"))); | ||||||
|   } else { |   } else { | ||||||
|     callback.Run(v8::Null(isolate);) |     callback.Run(v8::Null(isolate)); | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gabriel Handford
				Gabriel Handford