Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / net / net_error_tab_helper.cc
index 47512dd..b2cd40f 100644 (file)
@@ -22,7 +22,7 @@ using chrome_common_net::DnsProbeStatus;
 using chrome_common_net::DnsProbeStatusToString;
 using content::BrowserContext;
 using content::BrowserThread;
-using content::PageTransition;
+using ui::PageTransition;
 using content::RenderViewHost;
 using content::WebContents;
 using content::WebContentsObserver;
@@ -146,11 +146,11 @@ void NetErrorTabHelper::DidFailProvisionalLoad(
 
 NetErrorTabHelper::NetErrorTabHelper(WebContents* contents)
     : WebContentsObserver(contents),
-      weak_factory_(this),
       is_error_page_(false),
       dns_error_active_(false),
       dns_error_page_committed_(false),
-      dns_probe_status_(chrome_common_net::DNS_PROBE_POSSIBLE) {
+      dns_probe_status_(chrome_common_net::DNS_PROBE_POSSIBLE),
+      weak_factory_(this) {
   DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
 
   // If this helper is under test, it won't have a WebContents.