Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2437)

Unified Diff: chrome/common/pepper_flash.cc

Issue 10560015: Implement base::win::IsMetroProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pepper_flash.cc
diff --git a/chrome/common/pepper_flash.cc b/chrome/common/pepper_flash.cc
index 0f4a6cc60c1b2e993f8b3dc011856d8b15837fec..2f3e53181f0fe945874350aa0821969b9af57bd2 100644
--- a/chrome/common/pepper_flash.cc
+++ b/chrome/common/pepper_flash.cc
@@ -93,7 +93,7 @@ bool IsPepperFlashEnabledByDefault() {
return true;
#elif defined(OS_WIN)
// Pepper Flash is required for Windows 8 Metro mode.
- if (base::win::GetMetroModule())
+ if (base::win::IsMetroProcess())
return true;
chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698