Index: chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc |
diff --git a/chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc b/chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc |
index 57d0bd5aab3686a98037326399d852fb2b7aeff4..4324e865e31542b82eeb72eec6c983f4b50bbac9 100644 |
--- a/chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc |
+++ b/chrome/browser/guest_view/web_view/chrome_web_view_permission_helper_delegate.cc |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/user_metrics.h" |
#include "extensions/browser/guest_view/web_view/web_view_constants.h" |
#include "extensions/browser/guest_view/web_view/web_view_guest.h" |
+#include "ppapi/features/features.h" |
namespace extensions { |
@@ -39,7 +40,7 @@ ChromeWebViewPermissionHelperDelegate::ChromeWebViewPermissionHelperDelegate( |
ChromeWebViewPermissionHelperDelegate::~ChromeWebViewPermissionHelperDelegate() |
{} |
-#if defined(ENABLE_PLUGINS) |
+#if BUILDFLAG(ENABLE_PLUGINS) |
bool ChromeWebViewPermissionHelperDelegate::OnMessageReceived( |
const IPC::Message& message, |
content::RenderFrameHost* render_frame_host) { |
@@ -119,7 +120,7 @@ void ChromeWebViewPermissionHelperDelegate::OnPermissionResponse( |
} |
} |
-#endif // defined(ENABLE_PLUGINS) |
+#endif // BUILDFLAG(ENABLE_PLUGINS) |
void ChromeWebViewPermissionHelperDelegate::CanDownload( |
const GURL& url, |