Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1525)

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc

Issue 10409088: Get rid of the RenderViewType concept in content, since it was only used by Chrome. Store the enum… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698