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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2150633002: cc: Pass SurfaceId by const ref in more places (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/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 45edb87a630eaf86264d7162312844983b78f71d..232e30bd19445a4e173ee005bce556b7f5f58391 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -246,9 +246,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
// to be translated to viewport coordinates for the root RWHV, in which case
// this method is called on the root RWHV with the out-of-process iframe's
// SurfaceId.
- virtual void TransformPointToLocalCoordSpace(const gfx::Point& point,
- cc::SurfaceId original_surface,
- gfx::Point* transformed_point);
+ virtual void TransformPointToLocalCoordSpace(
+ const gfx::Point& point,
+ const cc::SurfaceId& original_surface,
+ gfx::Point* transformed_point);
//----------------------------------------------------------------------------
// The following methods are related to IME.

Powered by Google App Engine
This is Rietveld 408576698