mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Update to Chromium version 125.0.6422.0 (#1287751)
This commit is contained in:
		| @@ -358,9 +358,8 @@ void CefFrameImpl::OnDidFinishLoad() { | ||||
| } | ||||
|  | ||||
| void CefFrameImpl::OnDraggableRegionsChanged() { | ||||
|   // Match the behavior in ChromeRenderFrameObserver::DraggableRegionsChanged. | ||||
|   // Only the main frame is allowed to control draggable regions, to avoid other | ||||
|   // frames manipulate the regions in the browser process. | ||||
|   // frames trying to manipulate the regions in the browser process. | ||||
|   if (frame_->Parent() != nullptr) { | ||||
|     return; | ||||
|   } | ||||
| @@ -376,7 +375,7 @@ void CefFrameImpl::OnDraggableRegionsChanged() { | ||||
|       auto region = cef::mojom::DraggableRegionEntry::New(webregion.bounds, | ||||
|                                                           webregion.draggable); | ||||
|       render_frame->ConvertViewportToWindow(®ion->bounds); | ||||
|       regions.push_back(std::move(region)); | ||||
|       regions.emplace_back(std::move(region)); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user