| Index: chrome/browser/media/webrtc/window_icon_util_x11.cc
|
| diff --git a/chrome/browser/media/webrtc/window_icon_util_x11.cc b/chrome/browser/media/webrtc/window_icon_util_x11.cc
|
| index a69c365d7b770873d5e13a85778e2b7f180ce2a9..e9b34ae5ad7225b5941841858257ba21fdcd069d 100644
|
| --- a/chrome/browser/media/webrtc/window_icon_util_x11.cc
|
| +++ b/chrome/browser/media/webrtc/window_icon_util_x11.cc
|
| @@ -7,6 +7,7 @@
|
| #include <X11/Xatom.h>
|
| #include <X11/Xutil.h>
|
|
|
| +#include "ui/base/x/x11_util.h"
|
| #include "ui/gfx/x/x11_error_tracker.h"
|
| #include "ui/gfx/x/x11_types.h"
|
|
|
| @@ -14,7 +15,7 @@ gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) {
|
| DCHECK(id.type == content::DesktopMediaID::TYPE_WINDOW);
|
|
|
| Display* display = gfx::GetXDisplay();
|
| - Atom property = XInternAtom(display, "_NET_WM_ICON", True);
|
| + Atom property = ui::GetAtom("_NET_WM_ICON");
|
| Atom actual_type;
|
| int actual_format;
|
| unsigned long bytes_after; // NOLINT: type required by XGetWindowProperty
|
|
|