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

Unified Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2484793002: Remove access to WebContents in RWHVA::SynchronousFrameMetadata() (Closed)
Patch Set: comments Created 4 years, 1 month 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
« no previous file with comments | « no previous file | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/render_frame_devtools_agent_host.h
diff --git a/content/browser/devtools/render_frame_devtools_agent_host.h b/content/browser/devtools/render_frame_devtools_agent_host.h
index 63b5b9c053de39e638aa1bf47fa23a17072292bd..984c0cba74e8164f7cad68ba3bb8256558f09bf0 100644
--- a/content/browser/devtools/render_frame_devtools_agent_host.h
+++ b/content/browser/devtools/render_frame_devtools_agent_host.h
@@ -72,7 +72,8 @@ class CONTENT_EXPORT RenderFrameDevToolsAgentHost
static void WebContentsCreated(WebContents* web_contents);
- void SynchronousSwapCompositorFrame(
+ static void SignalSynchronousSwapCompositorFrame(
+ RenderFrameHost* frame_host,
cc::CompositorFrameMetadata frame_metadata);
bool HasRenderFrameHost(RenderFrameHost* host);
@@ -168,6 +169,9 @@ class CONTENT_EXPORT RenderFrameDevToolsAgentHost
void CreatePowerSaveBlocker();
+ void SynchronousSwapCompositorFrame(
+ cc::CompositorFrameMetadata frame_metadata);
+
class FrameHostHolder;
std::unique_ptr<FrameHostHolder> current_;
« no previous file with comments | « no previous file | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698