diff options
author | fsamuel <fsamuel@chromium.org> | 2014-08-29 16:52:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-29 23:54:40 +0000 |
commit | 15c487676ac5c50e1f59461d3c7c3f89cf27838d (patch) | |
tree | 1f527c150abc3c363323beb708d7852ae505c684 /content/browser/browser_plugin/browser_plugin_guest.cc | |
parent | 23f8f38115c398503d045e174d76b3bdef94744b (diff) | |
download | chromium_src-15c487676ac5c50e1f59461d3c7c3f89cf27838d.zip chromium_src-15c487676ac5c50e1f59461d3c7c3f89cf27838d.tar.gz chromium_src-15c487676ac5c50e1f59461d3c7c3f89cf27838d.tar.bz2 |
Remove two unnecessary params in ViewHostMsg_UpdateRect_Params
scale_factor was not used at all.
scroll_offset was not being used correctly. This CL now grabs the scroll offset from the CompositorFrameMetadata in RenderWidgetHostView.
BUG=none
TBR=kenrb@chromium.org for code deletion in view_messages.h + browser_plugin_messages.h
Review URL: https://codereview.chromium.org/525523003
Cr-Commit-Position: refs/heads/master@{#292721}
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_guest.cc')
-rw-r--r-- | content/browser/browser_plugin/browser_plugin_guest.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc index f8957ac..7e7e96a 100644 --- a/content/browser/browser_plugin/browser_plugin_guest.cc +++ b/content/browser/browser_plugin/browser_plugin_guest.cc @@ -834,7 +834,6 @@ void BrowserPluginGuest::OnUpdateRect( const ViewHostMsg_UpdateRect_Params& params) { BrowserPluginMsg_UpdateRect_Params relay_params; relay_params.view_size = params.view_size; - relay_params.scale_factor = params.scale_factor; relay_params.is_resize_ack = ViewHostMsg_UpdateRect_Flags::is_resize_ack( params.flags); |