| Index: chrome/browser/media/webrtc/window_icon_util_ozone.cc
|
| diff --git a/chrome/browser/media/webrtc/window_icon_util_chromeos.cc b/chrome/browser/media/webrtc/window_icon_util_ozone.cc
|
| similarity index 56%
|
| copy from chrome/browser/media/webrtc/window_icon_util_chromeos.cc
|
| copy to chrome/browser/media/webrtc/window_icon_util_ozone.cc
|
| index 530f013a30d7fd5c3c8f3074509224d4783fa0fe..f519648c48990fba693d2d58567905b25e9ce233 100644
|
| --- a/chrome/browser/media/webrtc/window_icon_util_chromeos.cc
|
| +++ b/chrome/browser/media/webrtc/window_icon_util_ozone.cc
|
| @@ -6,16 +6,12 @@
|
|
|
| #include "content/public/browser/desktop_media_id.h"
|
| #include "ui/aura/client/aura_constants.h"
|
| -#include "ui/aura/window.h"
|
|
|
| gfx::ImageSkia GetWindowIcon(content::DesktopMediaID id) {
|
| DCHECK_EQ(content::DesktopMediaID::TYPE_WINDOW, id.type);
|
| - aura::Window* window = content::DesktopMediaID::GetAuraWindowById(id);
|
| - if (!window)
|
| - return gfx::ImageSkia();
|
| -
|
| - gfx::ImageSkia* image = window->GetProperty(aura::client::kWindowIconKey);
|
| - if (!image)
|
| - image = window->GetProperty(aura::client::kAppIconKey);
|
| - return image ? *image : gfx::ImageSkia();
|
| + // TODO(tonikitoo): can we make the implementation of
|
| + // chrome/browser/media/webrtc/window_icon_util_chromeos.cc generic
|
| + // enough so we can reuse it here?
|
| + NOTIMPLEMENTED();
|
| + return gfx::ImageSkia();
|
| }
|
|
|