summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_surface_tracker.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-21 19:46:55 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-21 19:46:55 +0000
commitfc4ed09819d4252135dd62470c34ed38e436cf2e (patch)
tree8ae9665e23c64d7d794b0744bff0efe9f7bacc2a /content/browser/gpu/gpu_surface_tracker.h
parent4ea8786e0ff57ca98af4e508e241d646fff025c1 (diff)
downloadchromium_src-fc4ed09819d4252135dd62470c34ed38e436cf2e.zip
chromium_src-fc4ed09819d4252135dd62470c34ed38e436cf2e.tar.gz
chromium_src-fc4ed09819d4252135dd62470c34ed38e436cf2e.tar.bz2
Coverity: Fix pass-by-values.
CID_COUNT=7 CID=103317,103318,103319,103320,103321,103322,103323 BUG=none TEST=none R=groby Review URL: https://chromiumcodereview.appspot.com/9414033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_surface_tracker.h')
-rw-r--r--content/browser/gpu/gpu_surface_tracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/gpu/gpu_surface_tracker.h b/content/browser/gpu/gpu_surface_tracker.h
index 98b4eed..6f7113b 100644
--- a/content/browser/gpu/gpu_surface_tracker.h
+++ b/content/browser/gpu/gpu_surface_tracker.h
@@ -51,7 +51,7 @@ class GpuSurfaceTracker {
// Sets the native handle for the given surface.
// Note: This is an O(log N) lookup.
- void SetSurfaceHandle(int surface_id, gfx::GLSurfaceHandle handle);
+ void SetSurfaceHandle(int surface_id, const gfx::GLSurfaceHandle& handle);
// Gets the native handle for the given surface.
// Note: This is an O(log N) lookup.