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

Unified Diff: content/browser/aura/software_output_device_ozone.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: content/browser/aura/software_output_device_ozone.h
diff --git a/content/browser/aura/software_output_device_ozone.h b/content/browser/aura/software_output_device_ozone.h
index 7ebf430f32350c9fce83fafbb9c4d6aaefdc646d..d4c6554bb32093551039925e5846d18cfcf72bd9 100644
--- a/content/browser/aura/software_output_device_ozone.h
+++ b/content/browser/aura/software_output_device_ozone.h
@@ -25,7 +25,7 @@ class CONTENT_EXPORT SoftwareOutputDeviceOzone
virtual ~SoftwareOutputDeviceOzone();
virtual void Resize(gfx::Size viewport_size) OVERRIDE;
- virtual SkCanvas* BeginPaint(gfx::Rect damage_rect) OVERRIDE;
+ virtual SkCanvas* BeginPaint(const gfx::Rect& damage_rect) OVERRIDE;
virtual void EndPaint(cc::SoftwareFrameData* frame_data) OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698