| Index: content/browser/web_contents/debug_urls.cc
|
| diff --git a/content/browser/web_contents/debug_urls.cc b/content/browser/web_contents/debug_urls.cc
|
| index 05f9c410bb5320d152d823f8c5cf3ff58835e759..bb7f2039f4905a56285b0b8aea86abbc62853630 100644
|
| --- a/content/browser/web_contents/debug_urls.cc
|
| +++ b/content/browser/web_contents/debug_urls.cc
|
| @@ -11,9 +11,8 @@
|
| namespace content {
|
|
|
| bool HandleDebugURL(const GURL& url, content::PageTransition transition) {
|
| - content::PageTransition base_transition =
|
| - content::PageTransitionStripQualifier(transition);
|
| - if (base_transition != content::PAGE_TRANSITION_TYPED)
|
| + // Ensure that the user explicitly navigated to this URL.
|
| + if (!(transition & content::PAGE_TRANSITION_FROM_ADDRESS_BAR))
|
| return false;
|
|
|
| if (url.host() == chrome::kChromeUIBrowserCrashHost) {
|
|
|