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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2742743003: Delete RenderPassSink (Closed)
Patch Set: Refine unittest Created 3 years, 9 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/layers/render_surface_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index a03baacbd20055962b0e51704b4df5e81d11b46d..5b2cfa486c05c01d2616e2694eb45690b065c924 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -24,7 +24,6 @@
#include "cc/input/input_handler.h"
#include "cc/input/scrollbar_animation_controller.h"
#include "cc/layers/layer_collections.h"
-#include "cc/layers/render_pass_sink.h"
#include "cc/output/begin_frame_args.h"
#include "cc/output/compositor_frame_sink_client.h"
#include "cc/output/context_cache_controller.h"
@@ -216,9 +215,9 @@ class CC_EXPORT LayerTreeHostImpl
resourceless_software_draw_ = true;
}
- struct CC_EXPORT FrameData : public RenderPassSink {
+ struct CC_EXPORT FrameData {
FrameData();
- ~FrameData() override;
+ ~FrameData();
void AsValueInto(base::trace_event::TracedValue* value) const;
std::vector<gfx::Rect> occluding_screen_space_rects;
@@ -230,9 +229,6 @@ class CC_EXPORT LayerTreeHostImpl
bool may_contain_video;
BeginFrameAck begin_frame_ack;
- // RenderPassSink implementation.
- void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override;
-
private:
DISALLOW_COPY_AND_ASSIGN(FrameData);
};
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698