Chromium Code Reviews| Index: content/browser/renderer_host/delegated_frame_host.h |
| diff --git a/content/browser/renderer_host/delegated_frame_host.h b/content/browser/renderer_host/delegated_frame_host.h |
| index e60855b6e20831b98d10ddcbb745911493a0f5b1..8f1676e8379021e17f08c62755ff9fd6063d6ed2 100644 |
| --- a/content/browser/renderer_host/delegated_frame_host.h |
| +++ b/content/browser/renderer_host/delegated_frame_host.h |
| @@ -163,17 +163,17 @@ class CONTENT_EXPORT DelegatedFrameHost |
| // Surface, find the relative transform between the Surfaces and apply it |
| // to a point. If a Surface has not yet been created this returns the |
| // same point with no transform applied. |
|
ncarter (slow)
2016/10/13 20:34:42
Update the comment, here and below.
kenrb
2016/10/14 13:02:43
Done.
|
| - gfx::Point TransformPointToLocalCoordSpace( |
| - const gfx::Point& point, |
| - const cc::SurfaceId& original_surface); |
| + bool TransformPointToLocalCoordSpace(const gfx::Point& point, |
| + const cc::SurfaceId& original_surface, |
| + gfx::Point* transformed_point); |
| // Given a RenderWidgetHostViewBase that renders to a Surface that is |
| // contained within this class' Surface, find the relative transform between |
| // the Surfaces and apply it to a point. If a Surface has not yet been |
| // created this returns the same point with no transform applied. |
| - gfx::Point TransformPointToCoordSpaceForView( |
| - const gfx::Point& point, |
| - RenderWidgetHostViewBase* target_view); |
| + bool TransformPointToCoordSpaceForView(const gfx::Point& point, |
| + RenderWidgetHostViewBase* target_view, |
| + gfx::Point* transformed_point); |
| // Exposed for tests. |
| cc::SurfaceId SurfaceIdForTesting() const { |