Index: content/browser/frame_host/cross_process_frame_connector.cc |
diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc |
index 1d2234570626fbc65fa2705d02cb4d5a6ac17e96..bb12f90fec4604afbf485d8bc66da9bb140599a1 100644 |
--- a/content/browser/frame_host/cross_process_frame_connector.cc |
+++ b/content/browser/frame_host/cross_process_frame_connector.cc |
@@ -195,6 +195,10 @@ void CrossProcessFrameConnector::OnForwardInputEvent( |
void CrossProcessFrameConnector::OnFrameRectChanged( |
const gfx::Rect& frame_rect) { |
+ // TODO(wjmaclean) When changing the zoom of a WebView child without also |
+ // changing the zoom of the embedder (e.g. using WebView.setZoom()), we |
+ // shouldn't propagate this change in the frame rect. We need to find a way |
+ // to detect when this happens. http://crbug.com/607978 |
if (!frame_rect.size().IsEmpty()) |
SetRect(frame_rect); |
} |