Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
index 69b41352747d41e7a4438bb7c47d39aaa1b11e4c..e7978191a2ee1d16e7b8d7f7a9a41df5d5be22d3 100644 |
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/browser/tab_contents/retargeting_details.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
#include "chrome/common/chrome_notification_types.h" |
+#include "chrome/common/chrome_view_type.h" |
#include "chrome/common/url_constants.h" |
#include "content/public/browser/resource_request_details.h" |
#include "content/public/browser/navigation_details.h" |
@@ -448,7 +449,7 @@ void WebNavigationEventRouter::Retargeting(const RetargetingDetails* details) { |
// If you hit this DCHECK(), please add reproduction steps to |
// http://crbug.com/109464. |
DCHECK(details->source_web_contents->GetViewType() != |
- content::VIEW_TYPE_WEB_CONTENTS); |
+ chrome::VIEW_TYPE_TAB_CONTENTS); |
return; |
} |
const FrameNavigationState& frame_navigation_state = |