Commit 8f5d341c authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

chromeos: removes creation of ImageCursorsSet from content

It's never used.

BUG=none
TEST=none

Change-Id: If4677c56c51f33fe58eb97a4f03a72c087af8297
Reviewed-on: https://chromium-review.googlesource.com/1097949Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566650}
parent 155836a7
......@@ -231,10 +231,6 @@
#include "crypto/nss_util.h"
#endif
#if BUILDFLAG(ENABLE_MUS)
#include "services/ui/common/image_cursors_set.h"
#endif
// One of the linux specific headers defines this as a macro.
#ifdef DestroyAll
#undef DestroyAll
......@@ -1010,12 +1006,6 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
if (RenderProcessHost::run_renderer_in_process())
RenderProcessHostImpl::ShutDownInProcessRenderer();
#if BUILDFLAG(ENABLE_MUS)
// NOTE: because of dependencies this has to happen before
// PostMainMessageLoopRun().
image_cursors_set_.reset();
#endif
if (parts_) {
TRACE_EVENT0("shutdown",
"BrowserMainLoop::Subsystem:PostMainMessageLoopRun");
......@@ -1516,11 +1506,6 @@ bool BrowserMainLoop::InitializeToolkit() {
: aura::Env::Mode::LOCAL);
#endif // defined(USE_AURA)
#if BUILDFLAG(ENABLE_MUS)
if (features::IsMashEnabled())
image_cursors_set_ = std::make_unique<ui::ImageCursorsSet>();
#endif
if (parts_)
parts_->ToolkitInitialized();
......
......@@ -81,12 +81,6 @@ namespace net {
class NetworkChangeNotifier;
} // namespace net
#if BUILDFLAG(ENABLE_MUS)
namespace ui {
class ImageCursorsSet;
}
#endif
namespace viz {
class CompositingModeReporterImpl;
class FrameSinkManagerImpl;
......@@ -192,10 +186,6 @@ class CONTENT_EXPORT BrowserMainLoop {
return startup_trace_file_;
}
#if BUILDFLAG(ENABLE_MUS)
ui::ImageCursorsSet* image_cursors_set() { return image_cursors_set_.get(); }
#endif
// Returns the task runner for tasks that that are critical to producing a new
// CompositorFrame on resize. On Mac this will be the task runner provided by
// WindowResizeHelperMac, on other platforms it will just be the thread task
......@@ -311,9 +301,6 @@ class CONTENT_EXPORT BrowserMainLoop {
#if defined(USE_AURA)
std::unique_ptr<aura::Env> env_;
#endif
#if BUILDFLAG(ENABLE_MUS)
std::unique_ptr<ui::ImageCursorsSet> image_cursors_set_;
#endif
#if defined(OS_ANDROID)
// Android implementation of ScreenOrientationDelegate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment