[cr145] Removes logging of CopyFromSurfaceError.
Per review feedback. Chromium change: https://source.chromium.org/chromium/chromium/src/+/9d2b3244101ccd0eb8321d3027c648ec4a1b14e2 commit 9d2b3244101ccd0eb8321d3027c648ec4a1b14e2 Author: Dave Tapuska <dtapuska@chromium.org> Date: Thu Jan 15 07:32:24 2026 -0800 Set timeout from multi source page context fetcher - Change the result code on CopyFromSurface so we can log a uma histogram instead of an arbitrary string - Pass timeout to viz, set the browser side timeout to be 500ms later to give the IPC enough time. Bug: b:447589565
This commit is contained in:
@@ -469,8 +469,6 @@ class PageContentFetcherInternal {
|
||||
void OnScreenshot(FetchPageContentCallback callback,
|
||||
const content::CopyFromSurfaceResult& result) {
|
||||
if (!result.has_value()) {
|
||||
LOG(ERROR) << "RenderWidgetHostView::CopyFromSurface failed with: "
|
||||
<< result.error();
|
||||
std::move(callback).Run("", false, "");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user