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

Unified Diff: cc/trees/layer_tree_host_unittest_damage.cc

Issue 2317753002: cc: Abstract the LayerTreeHost. (Closed)
Patch Set: Rebase Created 4 years, 3 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/trees/layer_tree_host_unittest_copyrequest.cc ('k') | cc/trees/layer_tree_host_unittest_picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_damage.cc
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc
index b24af99ee154d4456a2ea75f0a2ae10aaf36426c..561a92a0896ecde70e037db54fa90061384061db 100644
--- a/cc/trees/layer_tree_host_unittest_damage.cc
+++ b/cc/trees/layer_tree_host_unittest_damage.cc
@@ -41,7 +41,7 @@ class LayerTreeHostDamageTestSetNeedsRedraw
}
void DidCommitAndDrawFrame() override {
- switch (layer_tree_host()->source_frame_number()) {
+ switch (layer_tree_host()->SourceFrameNumber()) {
case 1:
layer_tree_host()->SetNeedsRedraw();
break;
@@ -103,7 +103,7 @@ class LayerTreeHostDamageTestSetViewportSize
}
void DidCommitAndDrawFrame() override {
- switch (layer_tree_host()->source_frame_number()) {
+ switch (layer_tree_host()->SourceFrameNumber()) {
case 1:
layer_tree()->SetViewportSize(gfx::Size(15, 15));
break;
@@ -203,7 +203,7 @@ class LayerTreeHostDamageTestNoDamageDoesNotSwap
}
void DidCommit() override {
- int next_frame = layer_tree_host()->source_frame_number();
+ int next_frame = layer_tree_host()->SourceFrameNumber();
switch (next_frame) {
case 1:
layer_tree_host()->SetNeedsCommit();
« no previous file with comments | « cc/trees/layer_tree_host_unittest_copyrequest.cc ('k') | cc/trees/layer_tree_host_unittest_picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698