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

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

Issue 2299333003: Revert of Revert "Revert of content: Fix Context creation logic in ContextProviderFactoryImpl." (Closed)
Patch Set: 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
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 685e7bd7d437b6b16715d43e21630ffe75c42d37..0ed06c3cb7a26aee191f45fc5c4c5fafa18e4cf2 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
@@ -32,7 +32,6 @@
#if defined(OS_ANDROID)
#include "content/browser/renderer_host/context_provider_factory_impl_android.h"
-#include "content/test/mock_gpu_channel_establish_factory.h"
#endif
namespace content {
@@ -86,7 +85,6 @@
ImageTransportFactory::InitializeForUnitTests(
base::WrapUnique(new NoTransportImageTransportFactory));
#else
- ContextProviderFactoryImpl::Initialize(&gpu_channel_factory_);
ui::ContextProviderFactory::SetInstance(
ContextProviderFactoryImpl::GetInstance());
#endif
@@ -117,7 +115,6 @@
ImageTransportFactory::Terminate();
#else
ui::ContextProviderFactory::SetInstance(nullptr);
- ContextProviderFactoryImpl::Terminate();
#endif
}
@@ -133,10 +130,6 @@
RenderWidgetHostImpl* widget_host_;
RenderWidgetHostViewChildFrame* view_;
MockCrossProcessFrameConnector* test_frame_connector_;
-
-#if defined(OS_ANDROID)
- MockGpuChannelEstablishFactory gpu_channel_factory_;
-#endif
private:
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrameTest);
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/frame_host/render_widget_host_view_guest_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698