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

Unified Diff: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h

Issue 1407443002: Remove old C++03 move emulation code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: std::move and reflow Created 5 years, 1 month 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
Index: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h
index a2c506845931a433574e811104366571c3e43872..a53dc0055ce974b1b9d2727726fcb67aa6b3aff8 100644
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h
@@ -92,14 +92,13 @@ class SpellcheckHunspellDictionary
// Dictionary file information to be passed between the FILE and UI threads.
struct DictionaryFile {
- MOVE_ONLY_TYPE_FOR_CPP_03(DictionaryFile, RValue)
+ MOVE_ONLY_TYPE_FOR_CPP_03(DictionaryFile)
public:
DictionaryFile();
~DictionaryFile();
- // C++03 move emulation of this type.
- DictionaryFile(RValue other);
- DictionaryFile& operator=(RValue other);
+ DictionaryFile(DictionaryFile&& other);
+ DictionaryFile& operator=(DictionaryFile&& other);
// The desired location of the dictionary file, whether or not it exists.
base::FilePath path;
« no previous file with comments | « chrome/browser/printing/pdf_to_emf_converter.cc ('k') | chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698