summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/ui/network_profile_bubble.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/ui/network_profile_bubble.cc b/chrome/browser/ui/network_profile_bubble.cc
index d59920b..aa09b14 100644
--- a/chrome/browser/ui/network_profile_bubble.cc
+++ b/chrome/browser/ui/network_profile_bubble.cc
@@ -175,11 +175,8 @@ void NetworkProfileBubble::RecordUmaEvent(MetricNetworkedProfileCheck event) {
// static
void NetworkProfileBubble::NotifyNetworkProfileDetected() {
- // TODO(robertshield): Eventually, we will need to figure out the correct
- // desktop type for this for platforms that can have
- // multiple desktop types (win8/metro).
Browser* browser = chrome::FindLastActiveWithHostDesktopType(
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ chrome::GetActiveDesktop());
if (browser)
ShowNotification(browser);