Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(840)

Unified Diff: content/common/inter_process_time_ticks_converter.cc

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/inter_process_time_ticks_converter.h ('k') | content/common/quota_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/inter_process_time_ticks_converter.cc
diff --git a/content/common/inter_process_time_ticks_converter.cc b/content/common/inter_process_time_ticks_converter.cc
index 09c14f0ec62585df5631076dfed515745bfefe92..0fbd2261592f1c195d513628d994271afb1aafb6 100644
--- a/content/common/inter_process_time_ticks_converter.cc
+++ b/content/common/inter_process_time_ticks_converter.cc
@@ -37,7 +37,8 @@ LocalTimeTicks InterProcessTimeTicksConverter::ToLocalTimeTicks(
const RemoteTimeTicks& remote_ms) {
DCHECK_LE(remote_lower_bound_, remote_ms.value_);
DCHECK_GE(remote_upper_bound_, remote_ms.value_);
- RemoteTimeDelta remote_delta = remote_ms - remote_lower_bound_;
+ RemoteTimeDelta remote_delta = remote_ms -
+ RemoteTimeTicks(remote_lower_bound_);
return LocalTimeTicks(remote_lower_bound_ + offset_ +
ToLocalTimeDelta(remote_delta).value_);
}
« no previous file with comments | « content/common/inter_process_time_ticks_converter.h ('k') | content/common/quota_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698