Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
=================================================================== |
--- chrome/browser/extensions/api/web_navigation/web_navigation_api.cc (revision 138369) |
+++ chrome/browser/extensions/api/web_navigation/web_navigation_api.cc (working copy) |
@@ -447,7 +447,7 @@ |
if (!tab_observer) { |
// If you hit this DCHECK(), please add reproduction steps to |
// http://crbug.com/109464. |
- DCHECK(details->source_web_contents->GetViewType() != |
+ DCHECK(chrome::GetViewType(details->source_web_contents) != |
chrome::VIEW_TYPE_TAB_CONTENTS); |
return; |
} |