Index: chrome/browser/devtools/devtools_ui_bindings.cc |
diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc |
index d54be22443da3731e79fe2511e959f455495c021..4ee015a5f0699bc0c72255e99a0e5f3d716d282a 100644 |
--- a/chrome/browser/devtools/devtools_ui_bindings.cc |
+++ b/chrome/browser/devtools/devtools_ui_bindings.cc |
@@ -68,6 +68,7 @@ |
#include "net/http/http_response_headers.h" |
#include "net/url_request/url_fetcher.h" |
#include "net/url_request/url_fetcher_response_writer.h" |
+#include "third_party/WebKit/public/public_features.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/page_transition_types.h" |
@@ -1167,7 +1168,7 @@ void DevToolsUIBindings::DocumentOnLoadCompletedInMainFrame() { |
// In the DEBUG_DEVTOOLS mode, the DocumentOnLoadCompletedInMainFrame event |
// arrives before the LoadCompleted event, thus it should not trigger the |
// frontend load handling. |
-#if !defined(DEBUG_DEVTOOLS) |
+#if !BUILDFLAG(DEBUG_DEVTOOLS) |
FrontendLoaded(); |
#endif |
} |