diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-02 12:21:57 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-12 08:13:00 +0000 |
commit | 606d85f2a5386472314d39923da28c70c60dc8e7 (patch) | |
tree | a8f4d7bf997f349f45605e6058259fba0630e4d7 /chromium/components/sync_bookmarks/bookmark_model_type_processor.cc | |
parent | 5786336dda477d04fb98483dca1a5426eebde2d7 (diff) | |
download | qtwebengine-chromium-606d85f2a5386472314d39923da28c70c60dc8e7.tar.gz |
BASELINE: Update Chromium to 96.0.4664.181
Change-Id: I762cd1da89d73aa6313b4a753fe126c34833f046
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/sync_bookmarks/bookmark_model_type_processor.cc')
-rw-r--r-- | chromium/components/sync_bookmarks/bookmark_model_type_processor.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/components/sync_bookmarks/bookmark_model_type_processor.cc b/chromium/components/sync_bookmarks/bookmark_model_type_processor.cc index c2105c6e698..1dc1227668d 100644 --- a/chromium/components/sync_bookmarks/bookmark_model_type_processor.cc +++ b/chromium/components/sync_bookmarks/bookmark_model_type_processor.cc @@ -61,6 +61,10 @@ class ScopedRemoteUpdateBookmarks { bookmark_model_->RemoveObserver(observer_); } + ScopedRemoteUpdateBookmarks(const ScopedRemoteUpdateBookmarks&) = delete; + ScopedRemoteUpdateBookmarks& operator=(const ScopedRemoteUpdateBookmarks&) = + delete; + ~ScopedRemoteUpdateBookmarks() { // Notify UI intensive observers of BookmarkModel that all updates have been // applied, and that they may now be consumed. This prevents issues like the @@ -77,8 +81,6 @@ class ScopedRemoteUpdateBookmarks { ScopedSuspendBookmarkUndo suspend_undo_; bookmarks::BookmarkModelObserver* const observer_; - - DISALLOW_COPY_AND_ASSIGN(ScopedRemoteUpdateBookmarks); }; std::string ComputeServerDefinedUniqueTagForDebugging( |