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

Unified Diff: cc/compositor_frame.cc

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/compositor_frame.h ('k') | cc/delegating_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/compositor_frame.cc
diff --git a/cc/compositor_frame.cc b/cc/compositor_frame.cc
index da665395eb4d5def198a733d90bc94f733f4a40a..69119b00bc59a18e627240df9ff912f37e444f51 100644
--- a/cc/compositor_frame.cc
+++ b/cc/compositor_frame.cc
@@ -10,4 +10,10 @@ CompositorFrame::CompositorFrame() {}
CompositorFrame::~CompositorFrame() {}
+void CompositorFrame::AssignTo(CompositorFrame* target) {
+ target->delegated_frame_data = delegated_frame_data.Pass();
+ target->gl_frame_data = gl_frame_data.Pass();
+ target->metadata = metadata;
+}
+
} // namespace cc
« no previous file with comments | « cc/compositor_frame.h ('k') | cc/delegating_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698