Index: components/navigation_interception/navigation_params.cc |
diff --git a/components/navigation_interception/navigation_params.cc b/components/navigation_interception/navigation_params.cc |
index fb66ba6e4d782deede59334966f048a2eb06932c..e7bbf188aa1937ded81e902f498416ad4f606f79 100644 |
--- a/components/navigation_interception/navigation_params.cc |
+++ b/components/navigation_interception/navigation_params.cc |
@@ -6,10 +6,6 @@ |
namespace navigation_interception { |
-NavigationParams::NavigationParams(const NavigationParams& other) { |
- Assign(other); |
-} |
- |
NavigationParams::NavigationParams(const GURL& url, |
const content::Referrer& referrer, |
bool has_user_gesture, |
@@ -29,20 +25,5 @@ NavigationParams::NavigationParams(const GURL& url, |
is_main_frame_(is_main_frame), |
base_url_for_data_url_(base_url_for_data_url) {} |
-void NavigationParams::operator=(const NavigationParams& rhs) { |
- Assign(rhs); |
-} |
- |
-void NavigationParams::Assign(const NavigationParams& other) { |
- url_ = other.url(); |
- referrer_ = other.referrer(); |
- has_user_gesture_ = other.has_user_gesture(); |
- is_post_ = other.is_post(); |
- transition_type_ = other.transition_type(); |
- is_redirect_ = other.is_redirect(); |
- is_external_protocol_ = other.is_external_protocol(); |
- is_main_frame_ = other.is_main_frame(); |
-} |
- |
} // namespace navigation_interception |