Index: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc |
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc |
index 63bbb76e72b2c9a12017d4bd073f6d11e739e581..0effde665ae2b4970463e4a7a4f90ad840bba5c8 100644 |
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc |
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc |
@@ -144,7 +144,9 @@ class DataReductionProxyDebugBlockingPageTest |
content::InterstitialPage::GetInterstitialPage(web_contents()); |
if (!interstitial) |
return NULL; |
- return static_cast<DataReductionProxyDebugBlockingPage*>( |
+ EXPECT_EQ(DataReductionProxyDebugBlockingPage::kTypeForTesting, |
+ interstitial->GetDelegateForTesting()->GetTypeForTesting()); |
+ return static_cast<DataReductionProxyDebugBlockingPage*>( |
interstitial->GetDelegateForTesting()); |
} |