summaryrefslogtreecommitdiffstats
path: root/views/widget/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r--views/widget/widget.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h
index e361c59..296cab0 100644
--- a/views/widget/widget.h
+++ b/views/widget/widget.h
@@ -496,13 +496,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
return non_client_view_ ? non_client_view_->client_view() : NULL;
}
- static void set_compositor_factory_for_testing(ui::Compositor*(*factory)()) {
- compositor_factory_ = factory;
- }
- static ui::Compositor* (*compositor_factory())() {
- return compositor_factory_;
- }
-
const ui::Compositor* GetCompositor() const;
ui::Compositor* GetCompositor();
@@ -722,9 +715,6 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
// See |is_top_level()| accessor.
bool is_top_level_;
- // Factory used to create Compositors. Settable by tests.
- static ui::Compositor*(*compositor_factory_)();
-
// Tracks whether native widget has been initialized.
bool native_widget_initialized_;