Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
index c6af133bad3b19384a52073214f3192fae7f91ad..8c330f94d79545b56f887b9a6711474de2bb2dad 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -59,6 +59,7 @@ |
#include "extensions/features/features.h" |
#include "net/http/http_server_properties.h" |
#include "net/http/transport_security_state.h" |
+#include "ppapi/features/features.h" |
#include "storage/browser/database/database_tracker.h" |
#if defined(OS_ANDROID) |
@@ -149,7 +150,7 @@ void OffTheRecordProfileImpl::Init() { |
TrackZoomLevelsFromParent(); |
-#if defined(ENABLE_PLUGINS) |
+#if BUILDFLAG(ENABLE_PLUGINS) |
ChromePluginServiceFilter::GetInstance()->RegisterResourceContext( |
this, io_data_->GetResourceContextNoInit()); |
#endif |
@@ -173,7 +174,7 @@ void OffTheRecordProfileImpl::Init() { |
OffTheRecordProfileImpl::~OffTheRecordProfileImpl() { |
MaybeSendDestroyedNotification(); |
-#if defined(ENABLE_PLUGINS) |
+#if BUILDFLAG(ENABLE_PLUGINS) |
ChromePluginServiceFilter::GetInstance()->UnregisterResourceContext( |
io_data_->GetResourceContextNoInit()); |
#endif |