summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc4
-rw-r--r--chrome/plugin/webplugin_delegate_stub.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index 5b719ac..9bc8561 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -363,8 +363,8 @@ void WebPluginDelegateStub::OnContainerShown(gfx::Rect window_frame,
delegate_->SetWindowHasFocus(has_focus);
}
-void WebPluginDelegateStub::OnWindowFrameChanged(gfx::Rect window_frame,
- gfx::Rect view_frame) {
+void WebPluginDelegateStub::OnWindowFrameChanged(const gfx::Rect& window_frame,
+ const gfx::Rect& view_frame) {
delegate_->WindowFrameChanged(window_frame, view_frame);
}
#endif // OS_MACOSX
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h
index 9c9d0b4..407914e 100644
--- a/chrome/plugin/webplugin_delegate_stub.h
+++ b/chrome/plugin/webplugin_delegate_stub.h
@@ -84,7 +84,8 @@ class WebPluginDelegateStub : public IPC::Channel::Listener,
void OnContainerHidden();
void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame,
bool has_focus);
- void OnWindowFrameChanged(gfx::Rect window_frame, gfx::Rect view_frame);
+ void OnWindowFrameChanged(const gfx::Rect& window_frame,
+ const gfx::Rect& view_frame);
#endif
void OnDidReceiveManualResponse(