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

Unified Diff: services/gfx/compositor/render/render_image.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/render/render_frame.cc ('k') | services/gfx/compositor/render/render_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/render/render_image.h
diff --git a/services/gfx/compositor/render/render_image.h b/services/gfx/compositor/render/render_image.h
index 7cdbf16ad6a87ef7685ee6db9969956840328348..f90e579458cbf48dd0047c384ced761adb1b5b31 100644
--- a/services/gfx/compositor/render/render_image.h
+++ b/services/gfx/compositor/render/render_image.h
@@ -51,7 +51,7 @@ class RenderImage {
uint32_t width() const { return image_->width(); }
uint32_t height() const { return image_->height(); }
- // Gets the underlying image to rasterize.
+ // Gets the underlying image to rasterize, never null.
const skia::RefPtr<SkImage>& image() const { return image_; }
private:
« no previous file with comments | « services/gfx/compositor/render/render_frame.cc ('k') | services/gfx/compositor/render/render_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698