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

Unified Diff: ppapi/cpp/dev/file_chooser_dev.cc

Issue 5539001: Remove all the swap() stuff in the PPAPI C++ wrappers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « ppapi/cpp/dev/file_chooser_dev.h ('k') | ppapi/cpp/dev/file_io_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/file_chooser_dev.cc
===================================================================
--- ppapi/cpp/dev/file_chooser_dev.cc (revision 67885)
+++ ppapi/cpp/dev/file_chooser_dev.cc (working copy)
@@ -33,14 +33,10 @@
}
FileChooser_Dev& FileChooser_Dev::operator=(const FileChooser_Dev& other) {
- FileChooser_Dev copy(other);
- swap(copy);
+ Resource::operator=(other);
return *this;
}
-void FileChooser_Dev::swap(FileChooser_Dev& other) {
- Resource::swap(other);
-}
int32_t FileChooser_Dev::Show(const CompletionCallback& cc) {
if (!file_chooser_f)
« no previous file with comments | « ppapi/cpp/dev/file_chooser_dev.h ('k') | ppapi/cpp/dev/file_io_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698