diff options
Diffstat (limited to 'ppapi/cpp/trusted/file_chooser_trusted.cc')
-rw-r--r-- | ppapi/cpp/trusted/file_chooser_trusted.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ppapi/cpp/trusted/file_chooser_trusted.cc b/ppapi/cpp/trusted/file_chooser_trusted.cc index d0c6c50..aa05798 100644 --- a/ppapi/cpp/trusted/file_chooser_trusted.cc +++ b/ppapi/cpp/trusted/file_chooser_trusted.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -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); |