refactor: move media/net from brightray to atom (#15288)
This commit is contained in:
parent
6f3c46cc7e
commit
6d844a0b67
32 changed files with 108 additions and 152 deletions
|
@ -11,9 +11,9 @@
|
|||
#include <string>
|
||||
|
||||
#include "atom/common/atom_version.h"
|
||||
#include "atom/common/platform_util.h"
|
||||
#include "base/environment.h"
|
||||
#include "base/logging.h"
|
||||
#include "brightray/common/platform_util.h"
|
||||
#include "chrome/browser/ui/libgtkui/gtk_util.h"
|
||||
|
||||
namespace {
|
||||
|
@ -22,7 +22,7 @@ GDesktopAppInfo* get_desktop_app_info() {
|
|||
GDesktopAppInfo* ret = nullptr;
|
||||
|
||||
std::string desktop_id;
|
||||
if (brightray::platform_util::GetDesktopName(&desktop_id))
|
||||
if (platform_util::GetDesktopName(&desktop_id))
|
||||
ret = g_desktop_app_info_new(desktop_id.c_str());
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue