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

Unified Diff: cc/output_surface.h

Issue 11777025: cc: Implement DelegatingRender::drawFrame() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for-landing Created 7 years, 11 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 | « cc/layer_tree_host_unittest_context.cc ('k') | cc/render_pass.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output_surface.h
diff --git a/cc/output_surface.h b/cc/output_surface.h
index 3d62f184fbc8b30ac6aa0a948a7c7d81799a0df0..4906ec3e069134a8f54525da85634e0b5adcd536 100644
--- a/cc/output_surface.h
+++ b/cc/output_surface.h
@@ -54,8 +54,9 @@ class CC_EXPORT OutputSurface : public WebKit::WebCompositorOutputSurface {
virtual SoftwareOutputDevice* SoftwareDevice() const = 0;
// Sends frame data to the parent compositor. This should only be called when
- // capabilities().has_parent_compositor.
- virtual void SendFrameToParentCompositor(const CompositorFrame&) {}
+ // capabilities().has_parent_compositor. The implementation may destroy or
+ // steal the contents of the CompositorFrame passed in.
+ virtual void SendFrameToParentCompositor(CompositorFrame*) = 0;
};
} // namespace cc
« no previous file with comments | « cc/layer_tree_host_unittest_context.cc ('k') | cc/render_pass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698