| Index: components/open_from_clipboard/clipboard_recent_content_ios.mm
|
| diff --git a/components/open_from_clipboard/clipboard_recent_content_ios.mm b/components/open_from_clipboard/clipboard_recent_content_ios.mm
|
| index 123c4aa5afd4287356e2bec0c02aec567884d80c..98eaa2a3bf4f3910b788049ee9ff6135180d254a 100644
|
| --- a/components/open_from_clipboard/clipboard_recent_content_ios.mm
|
| +++ b/components/open_from_clipboard/clipboard_recent_content_ios.mm
|
| @@ -70,9 +70,7 @@
|
| - (void)didBecomeActive:(NSNotification*)notification {
|
| if (_delegate) {
|
| _delegate->LoadFromUserDefaults();
|
| - base::TimeDelta uptime =
|
| - base::TimeDelta::FromMilliseconds(base::SysInfo::Uptime());
|
| - if (_delegate->HasPasteboardChanged(uptime)) {
|
| + if (_delegate->HasPasteboardChanged(base::SysInfo::Uptime())) {
|
| _delegate->PasteboardChanged();
|
| }
|
| }
|
| @@ -168,7 +166,7 @@ ClipboardRecentContentIOS::ClipboardRecentContentIOS(
|
| NSUserDefaults* group_user_defaults)
|
| : application_scheme_(application_scheme),
|
| shared_user_defaults_([group_user_defaults retain]) {
|
| - Init(base::TimeDelta::FromMilliseconds(base::SysInfo::Uptime()));
|
| + Init(base::SysInfo::Uptime());
|
| }
|
|
|
| ClipboardRecentContentIOS::ClipboardRecentContentIOS(
|
|
|