Index: remoting/host/screen_resolution.cc |
diff --git a/remoting/host/screen_resolution.cc b/remoting/host/screen_resolution.cc |
index b792cefc582be87d2f83c017bfbf00843bb1e9af..ff3c4777112f445f74d8cc9f69491012e2641f32 100644 |
--- a/remoting/host/screen_resolution.cc |
+++ b/remoting/host/screen_resolution.cc |
@@ -43,4 +43,8 @@ bool ScreenResolution::IsEmpty() const { |
return dimensions_.is_empty() || dpi_.is_zero(); |
} |
+bool ScreenResolution::Equals(const ScreenResolution& other) const { |
+ return dimensions_.equals(other.dimensions()) && dpi_.equals(other.dpi()); |
+} |
+ |
} // namespace remoting |