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

Unified Diff: cc/test/test_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
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/test/test_context_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_support.h
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
index 225ab7a5d49f54290567ea37f4aa2a1722832364..7ae657c15d2189f01d0ab0d33b88c3ea5cd81697 100644
--- a/cc/test/test_context_support.h
+++ b/cc/test/test_context_support.h
@@ -26,7 +26,7 @@ class TestContextSupport : public gpu::ContextSupport {
virtual void SendManagedMemoryStats(const gpu::ManagedMemoryStats& stats)
OVERRIDE;
virtual void Swap() OVERRIDE;
- virtual void PartialSwapBuffers(gfx::Rect sub_buffer) OVERRIDE;
+ virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE;
virtual void SetSwapBuffersCompleteCallback(
const base::Closure& callback) OVERRIDE;
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/test/test_context_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698