Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Unified Diff: gpu/command_buffer/client/context_support.h

Issue 93663004: [#2] Pass gfx structs by const ref (gfx::Rect, gfx::RectF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT, fix builds on non-linux platforms! Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/context_support.h
diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h
index 6a8972081ca40677c5f19330b8f624e75af0529e..b5e771368c06de4f13bdb728f5bbbec2b3e79fe8 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -28,7 +28,7 @@ class ContextSupport {
virtual void SendManagedMemoryStats(const ManagedMemoryStats& stats) = 0;
virtual void Swap() = 0;
- virtual void PartialSwapBuffers(gfx::Rect sub_buffer) = 0;
+ virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0;
virtual void SetSwapBuffersCompleteCallback(
const base::Closure& callback) = 0;
« no previous file with comments | « content/renderer/gpu/compositor_software_output_device.cc ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698