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

Unified Diff: cc/output/compositor_frame.h

Issue 2503203002: Revert "Getting rid of DelegatedFrameData" (Closed)
Patch Set: Created 4 years, 1 month 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/ipc/struct_traits_unittest.cc ('k') | cc/output/compositor_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/compositor_frame.h
diff --git a/cc/output/compositor_frame.h b/cc/output/compositor_frame.h
index f5eea45d1a3aa322feffed8c6d7a68310cb97a43..8d9209d899c6aba3e6adbe4a5fd7166196deacbc 100644
--- a/cc/output/compositor_frame.h
+++ b/cc/output/compositor_frame.h
@@ -10,8 +10,7 @@
#include "base/macros.h"
#include "cc/base/cc_export.h"
#include "cc/output/compositor_frame_metadata.h"
-#include "cc/quads/render_pass.h"
-#include "cc/resources/transferable_resource.h"
+#include "cc/output/delegated_frame_data.h"
namespace cc {
@@ -31,8 +30,7 @@ class CC_EXPORT CompositorFrame {
CompositorFrame& operator=(CompositorFrame&& other);
CompositorFrameMetadata metadata;
- TransferableResourceArray resource_list;
- RenderPassList render_pass_list;
+ std::unique_ptr<DelegatedFrameData> delegated_frame_data;
private:
DISALLOW_COPY_AND_ASSIGN(CompositorFrame);
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/output/compositor_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698