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

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

Issue 1749063002: Mozart: Improve internal scene graph representation. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-0
Patch Set: avoid unnecessary hashtable lookups Created 4 years, 10 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/BUILD.gn ('k') | services/gfx/compositor/compositor_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/compositor_engine.h
diff --git a/services/gfx/compositor/compositor_engine.h b/services/gfx/compositor/compositor_engine.h
index 0d0636995be20c307a86a54e98254dcd0f73bfd5..678523c1b79a1011d425ed155fcbd9baa2aeb716 100644
--- a/services/gfx/compositor/compositor_engine.h
+++ b/services/gfx/compositor/compositor_engine.h
@@ -105,8 +105,8 @@ class CompositorEngine {
void OnPresentScene(const base::WeakPtr<SceneState>& scene_state_weak,
int64_t presentation_time);
- SceneDef* ResolveSceneReference(
- mojo::gfx::composition::SceneToken* scene_token);
+ base::WeakPtr<SceneDef> ResolveSceneReference(
+ const mojo::gfx::composition::SceneToken& scene_token);
void SendResourceUnavailable(SceneState* scene_state, uint32_t resource_id);
SceneState* FindScene(uint32_t scene_token);
« no previous file with comments | « services/gfx/compositor/BUILD.gn ('k') | services/gfx/compositor/compositor_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698