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

Unified Diff: cc/surfaces/surface_damage_observer.h

Issue 2136413002: Update Surface ID Terminology (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed webkit_unit_tests Created 4 years, 5 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: cc/surfaces/surface_damage_observer.h
diff --git a/cc/surfaces/surface_damage_observer.h b/cc/surfaces/surface_damage_observer.h
index 62ee0126e66ec8496adea3bb987bce7b49597661..b266e6e508edbe0c4320e4aba9b247c095adf2cd 100644
--- a/cc/surfaces/surface_damage_observer.h
+++ b/cc/surfaces/surface_damage_observer.h
@@ -5,15 +5,15 @@
#ifndef CC_SURFACES_SURFACE_DAMAGE_OBSERVER_H_
#define CC_SURFACES_SURFACE_DAMAGE_OBSERVER_H_
-#include "cc/surfaces/surface_id.h"
-
namespace cc {
+class SurfaceId;
+
class SurfaceDamageObserver {
public:
// Runs when a Surface is damaged. *changed should be set to true if this
// causes a Display to be damaged.
- virtual void OnSurfaceDamaged(SurfaceId surface_id, bool* changed) = 0;
+ virtual void OnSurfaceDamaged(const SurfaceId& surface_id, bool* changed) = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698