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

Unified Diff: cc/test/layer_tree_test.cc

Issue 924973003: CC: Force push properties for all layers when tracing is started (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 5 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
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 3c6ff57baeaebe5bf0f899ffd2557d842c06d77a..2c863a236114f6509e023cdd3eaee1b74f38c45c 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -39,10 +39,9 @@ TestHooks::TestHooks() {}
TestHooks::~TestHooks() {}
-DrawResult TestHooks::PrepareToDrawOnThread(
- LayerTreeHostImpl* host_impl,
- LayerTreeHostImpl::FrameData* frame_data,
- DrawResult draw_result) {
+DrawResult TestHooks::PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
+ FrameData* frame_data,
+ DrawResult draw_result) {
return draw_result;
}
@@ -282,7 +281,7 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
test_hooks_->DrawLayersOnThread(this);
}
- bool SwapBuffers(const LayerTreeHostImpl::FrameData& frame) override {
+ bool SwapBuffers(const FrameData& frame) override {
bool result = LayerTreeHostImpl::SwapBuffers(frame);
test_hooks_->SwapBuffersOnThread(this, result);
return result;

Powered by Google App Engine
This is Rietveld 408576698