From 9e8252c1f9ceed5acfc0f9a1fb711636ebc74c7d Mon Sep 17 00:00:00 2001 From: Hari Krishna Reddy Juturu Date: Fri, 21 Apr 2017 14:35:30 -0700 Subject: [PATCH] Remove wm_state change --- atom/browser/atom_browser_main_parts.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/atom/browser/atom_browser_main_parts.cc b/atom/browser/atom_browser_main_parts.cc index 577448e6d221..d3f8237d5ec2 100644 --- a/atom/browser/atom_browser_main_parts.cc +++ b/atom/browser/atom_browser_main_parts.cc @@ -25,10 +25,6 @@ #include "device/geolocation/geolocation_provider.h" #include "v8/include/v8-debug.h" -#if defined(USE_AURA) -#include "ui/wm/core/wm_state.h" -#endif - #if defined(USE_X11) #include "chrome/browser/ui/libgtkui/gtk_util.h" #include "ui/events/devices/x11/touch_factory_x11.h" @@ -61,10 +57,6 @@ void Erase(T* container, typename T::iterator iter) { // static AtomBrowserMainParts* AtomBrowserMainParts::self_ = nullptr; -#if defined(USE_AURA) -wm::WMState* wm_state_ = nullptr; -#endif - AtomBrowserMainParts::AtomBrowserMainParts() : fake_browser_process_(new BrowserProcess), exit_code_(nullptr), @@ -167,10 +159,6 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() { node_bindings_->PrepareMessageLoop(); node_bindings_->RunMessageLoop(); -#if defined(USE_AURA) - wm_state_ = new wm::WMState; -#endif - #if defined(USE_X11) ui::TouchFactory::SetTouchDeviceListFromCommandLine(); #endif