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

Unified Diff: compositor/gl/opengl_visitor.h

Issue 6691037: wm: Fix an uncommon memory leak in the compositor code. (Closed) Base URL: ssh://gitrw.chromium.org:9222/window_manager.git@master
Patch Set: update another arg to be a const ref Created 9 years, 9 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 | « no previous file | compositor/gl/opengl_visitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compositor/gl/opengl_visitor.h
diff --git a/compositor/gl/opengl_visitor.h b/compositor/gl/opengl_visitor.h
index 092bb11ca332617126bb2ab34234aa86b304aab9..1c3fb041f000fa1fe54a7038978c87e417fb1527 100644
--- a/compositor/gl/opengl_visitor.h
+++ b/compositor/gl/opengl_visitor.h
@@ -80,7 +80,7 @@ class OpenGlDrawVisitor : virtual public RealCompositor::ActorVisitor {
void set_has_fullscreen_actor(bool has_fullscreen_actor) {
has_fullscreen_actor_ = has_fullscreen_actor;
}
- void set_damaged_region(Rect damaged_region) {
+ void set_damaged_region(const Rect& damaged_region) {
damaged_region_ = damaged_region;
}
« no previous file with comments | « no previous file | compositor/gl/opengl_visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698