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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 1734403003: Add helper class for tests using browser process hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gcc compile warnings Created 4 years, 10 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/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index f1399a0e6f60b48959eaeb742024fa394f5a9c95..f0c6f4ff40ae45ab3232a7e7e7b67abba113c904 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -533,4 +533,8 @@ void RenderWidgetHostViewChildFrame::ClearCompositorSurfaceIfNecessary() {
surface_id_ = cc::SurfaceId();
}
+cc::SurfaceId RenderWidgetHostViewChildFrame::SurfaceIdForTesting() const {
+ return surface_id_;
+};
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698