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

Unified Diff: cc/layers/texture_layer_unittest.cc

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 6 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/surface_layer_unittest.cc ('k') | cc/output/compositor_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer_unittest.cc
diff --git a/cc/layers/texture_layer_unittest.cc b/cc/layers/texture_layer_unittest.cc
index 51ebf69b19c00769068fefa025de011924413d0c..3a13f3d899c356dd4160e4882860afd6b447ba1e 100644
--- a/cc/layers/texture_layer_unittest.cc
+++ b/cc/layers/texture_layer_unittest.cc
@@ -1108,7 +1108,7 @@ class TextureLayerNoExtraCommitForMailboxTest
void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, bool result) override {
ASSERT_TRUE(result);
DelegatedFrameData* delegated_frame_data =
- output_surface()->last_sent_frame().delegated_frame_data.get();
+ output_surface()->last_sent_frame()->delegated_frame_data.get();
if (!delegated_frame_data)
return;
@@ -1245,7 +1245,7 @@ class TextureLayerChangeInvisibleMailboxTest
void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, bool result) override {
ASSERT_TRUE(result);
DelegatedFrameData* delegated_frame_data =
- output_surface()->last_sent_frame().delegated_frame_data.get();
+ output_surface()->last_sent_frame()->delegated_frame_data.get();
if (!delegated_frame_data)
return;
« no previous file with comments | « cc/layers/surface_layer_unittest.cc ('k') | cc/output/compositor_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698