Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Unified Diff: content/browser/devtools/protocol/page_handler.cc

Issue 2185823005: Make RenderViewImpl::OnForceRedraw more robust (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/protocol/page_handler.cc
diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
index 0e8d29b29b151d82ad24d0cc680fddd03b4c485e..19aa26fc4a07e79b51e00265c514a0dc950c8816 100644
--- a/content/browser/devtools/protocol/page_handler.cc
+++ b/content/browser/devtools/protocol/page_handler.cc
@@ -318,8 +318,8 @@ Response PageHandler::StartScreencast(const std::string* format,
if (has_compositor_frame_metadata_) {
InnerSwapCompositorFrame();
} else {
- widget_host->Send(
- new ViewMsg_ForceRedraw(widget_host->GetRoutingID(), 0));
+ widget_host->Send(new ViewMsg_ForceRedraw(widget_host->GetRoutingID(),
+ ui::LatencyInfo()));
}
}
return Response::FallThrough();

Powered by Google App Engine
This is Rietveld 408576698