diff options
author | justinlin@chromium.org <justinlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-28 02:13:27 +0000 |
---|---|---|
committer | justinlin@chromium.org <justinlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-28 02:13:27 +0000 |
commit | feed7e4ff01956a71d59ffc875632e27d3ee5fcc (patch) | |
tree | e56471f0fa77ce39f7b2289072d9246696f74c9d /content/port | |
parent | f8c5243decffb8f51f28e7564d37ca61d870c092 (diff) | |
download | chromium_src-feed7e4ff01956a71d59ffc875632e27d3ee5fcc.zip chromium_src-feed7e4ff01956a71d59ffc875632e27d3ee5fcc.tar.gz chromium_src-feed7e4ff01956a71d59ffc875632e27d3ee5fcc.tar.bz2 |
Fix CopyFromCompositingSurface copying uninitialized regions when the browser window is rapidly resized on Mac.
BUG=177838
Review URL: https://chromiumcodereview.appspot.com/12335056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index 9b74202..6c7ff68 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -166,6 +166,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, // contents, scaled to |dst_size|, and written to |output|. // |callback| is invoked with true on success, false otherwise. |output| can // be initialized even on failure. + // A smaller region than |src_subrect| may be copied if the underlying surface + // is smaller than |src_subrect|. // NOTE: |callback| is called asynchronously. virtual void CopyFromCompositingSurface( const gfx::Rect& src_subrect, |