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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc

Issue 2800833005: Remove SurfaceFactory Occurrences Outside Of cc (Closed)
Patch Set: Make SurfaceFactoryClient Implementation In CompositorFrameSinkSupport Public Created 3 years, 8 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: content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc b/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc
index 2a10a40c78cb89e8ae20757ec82d7604c9856912..86493be1cd720b372da46341b56a1885c189f6b6 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc
@@ -17,7 +17,6 @@
#include "build/build_config.h"
#include "cc/surfaces/compositor_frame_sink_support.h"
#include "cc/surfaces/surface.h"
-#include "cc/surfaces/surface_factory.h"
#include "cc/surfaces/surface_manager.h"
#include "cc/surfaces/surface_sequence.h"
#include "cc/test/begin_frame_args_test.h"
@@ -243,8 +242,7 @@ TEST_F(RenderWidgetHostViewChildFrameTest, ForwardsBeginFrameAcks) {
// Replace BeginFrameSource so that we can observe acknowledgments.
cc::FakeExternalBeginFrameSource source(0.f, false);
uint32_t source_id = source.source_id();
- static_cast<cc::SurfaceFactoryClient*>(view_->support_.get())
- ->SetBeginFrameSource(&source);
+ view_->support_->SetBeginFrameSource(&source);
view_->SetNeedsBeginFrames(true);
{

Powered by Google App Engine
This is Rietveld 408576698