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

Unified Diff: ppapi/cpp/trusted/file_chooser_trusted.cc

Issue 9187070: PPAPI: Implement operator= for FileChooser_Trusted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « ppapi/cpp/trusted/file_chooser_trusted.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/trusted/file_chooser_trusted.cc
diff --git a/ppapi/cpp/trusted/file_chooser_trusted.cc b/ppapi/cpp/trusted/file_chooser_trusted.cc
index d0c6c50679e099bf94042174637d92646c080c9a..bd13dd7a9f5822c2f53ad3211ff6befdd8b6746b 100644
--- a/ppapi/cpp/trusted/file_chooser_trusted.cc
+++ b/ppapi/cpp/trusted/file_chooser_trusted.cc
@@ -40,6 +40,14 @@ FileChooser_Trusted::FileChooser_Trusted(const FileChooser_Trusted& other)
suggested_file_name_(other.suggested_file_name_) {
}
+FileChooser_Trusted& FileChooser_Trusted::operator=(
+ const FileChooser_Trusted& other) {
+ FileChooser_Dev::operator=(other);
+ save_as_ = other.save_as_;
+ suggested_file_name_ = other.suggested_file_name_;
+ return *this;
+}
+
int32_t FileChooser_Trusted::Show(const CompletionCallback& cc) {
if (!has_interface<PPB_FileChooserTrusted>())
return cc.MayForce(PP_ERROR_NOINTERFACE);
« no previous file with comments | « ppapi/cpp/trusted/file_chooser_trusted.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698