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

Unified Diff: services/gfx/compositor/scene_state.h

Issue 1873573003: Mozart: Ensure time always runs forward. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-3
Patch Set: fix build error on Android Created 4 years, 8 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 | « services/gfx/compositor/graph/universe.cc ('k') | services/gfx/compositor/scene_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/scene_state.h
diff --git a/services/gfx/compositor/scene_state.h b/services/gfx/compositor/scene_state.h
index 47526e301267979b6e6f255646b1f9b8258d9895..c5f07efb0d3443b378558ea51057e5e72591145c 100644
--- a/services/gfx/compositor/scene_state.h
+++ b/services/gfx/compositor/scene_state.h
@@ -34,8 +34,8 @@ class SceneState {
// Gets the token used to refer to this scene globally.
// Caller does not obtain ownership of the token.
- const mojo::gfx::composition::SceneToken* scene_token() {
- return scene_token_.get();
+ const mojo::gfx::composition::SceneToken& scene_token() {
+ return *scene_token_;
}
// Gets or sets the scene listener interface.
« no previous file with comments | « services/gfx/compositor/graph/universe.cc ('k') | services/gfx/compositor/scene_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698