summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 21:18:55 +0000
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 21:18:55 +0000
commitc53098c0db8aa1011425468ddb8ad0ad81563a18 (patch)
tree889c2592a7265c71f3bf7d67a1685b8765c51869 /content/port
parenta873f617ccc32b5ef0ace9b9b53987ceeba14a75 (diff)
downloadchromium_src-c53098c0db8aa1011425468ddb8ad0ad81563a18.zip
chromium_src-c53098c0db8aa1011425468ddb8ad0ad81563a18.tar.gz
chromium_src-c53098c0db8aa1011425468ddb8ad0ad81563a18.tar.bz2
Clean up CopyFromBackingStore and CopyFromCompositingSurface.
- Pass Callback by const reference - Move the output argument at the end BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10695191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/browser/render_widget_host_view_port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 6dc48da..adc2f35 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -152,8 +152,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
// other platforms.
virtual void CopyFromCompositingSurface(
const gfx::Size& size,
- skia::PlatformCanvas* output,
- base::Callback<void(bool)> callback) = 0;
+ const base::Callback<void(bool)>& callback,
+ skia::PlatformCanvas* output) = 0;
// Called when accelerated compositing state changes.
virtual void OnAcceleratedCompositingStateChange() = 0;