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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc

Issue 137853023: [NaCl SDK] nacl_io: Add new fakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc b/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
index 7b61f3398ba351e6e3c77b1d2fa2c06d8e765c45..eddf42c654385ebdd87758c93b383f1b9f82b35e 100644
--- a/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_html5_fs.cc
@@ -656,7 +656,8 @@ int32_t FakeFileSystemInterface::Open(PP_Resource file_system,
}
FakePepperInterfaceHtml5Fs::FakePepperInterfaceHtml5Fs()
- : file_system_interface_(&core_interface_),
+ : var_interface_(&var_manager_),
+ file_system_interface_(&core_interface_),
file_ref_interface_(&core_interface_, &var_interface_),
file_io_interface_(&core_interface_) {
Init();
@@ -664,7 +665,8 @@ FakePepperInterfaceHtml5Fs::FakePepperInterfaceHtml5Fs()
FakePepperInterfaceHtml5Fs::FakePepperInterfaceHtml5Fs(
const FakeHtml5FsFilesystem& filesystem)
- : filesystem_template_(filesystem),
+ : var_interface_(&var_manager_),
+ filesystem_template_(filesystem),
file_system_interface_(&core_interface_),
file_ref_interface_(&core_interface_, &var_interface_),
file_io_interface_(&core_interface_),

Powered by Google App Engine
This is Rietveld 408576698