Index: chrome/browser/chrome_content_browser_client.cc |
=================================================================== |
--- chrome/browser/chrome_content_browser_client.cc (revision 191609) |
+++ chrome/browser/chrome_content_browser_client.cc (working copy) |
@@ -1846,7 +1846,7 @@ |
web_prefs->force_compositing_mode = true; |
WebContents* web_contents = WebContents::FromRenderViewHost(rvh); |
- chrome::ViewType view_type = chrome::GetViewType(web_contents); |
+ extensions::ViewType view_type = chrome::GetViewType(web_contents); |
ExtensionService* service = |
extensions::ExtensionSystem::Get(profile)->extension_service(); |
if (service) { |
@@ -1862,9 +1862,9 @@ |
} |
} |
- if (view_type == chrome::VIEW_TYPE_NOTIFICATION) { |
+ if (view_type == extensions::VIEW_TYPE_NOTIFICATION) { |
web_prefs->allow_scripts_to_close_windows = true; |
- } else if (view_type == chrome::VIEW_TYPE_BACKGROUND_CONTENTS) { |
+ } else if (view_type == extensions::VIEW_TYPE_BACKGROUND_CONTENTS) { |
// Disable all kinds of acceleration for background pages. |
// See http://crbug.com/96005 and http://crbug.com/96006 |
web_prefs->force_compositing_mode = false; |