| Index: components/nacl/browser/nacl_browser.cc
|
| diff --git a/components/nacl/browser/nacl_browser.cc b/components/nacl/browser/nacl_browser.cc
|
| index b1f1236b7a29e5cc897198c77f237243b38ed283..b6a14fe1282e416a76ecc239315ac257129b2e6f 100644
|
| --- a/components/nacl/browser/nacl_browser.cc
|
| +++ b/components/nacl/browser/nacl_browser.cc
|
| @@ -266,13 +266,13 @@ void NaClBrowser::EnsureIrtAvailable() {
|
| }
|
| }
|
|
|
| -void NaClBrowser::OnIrtOpened(base::PlatformFileError error_code,
|
| +void NaClBrowser::OnIrtOpened(base::File::Error error_code,
|
| base::PassPlatformFile file,
|
| bool created) {
|
| DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
|
| DCHECK_EQ(irt_state_, NaClResourceRequested);
|
| DCHECK(!created);
|
| - if (error_code == base::PLATFORM_FILE_OK) {
|
| + if (error_code == base::File::FILE_OK) {
|
| irt_platform_file_ = file.ReleaseValue();
|
| } else {
|
| LOG(ERROR) << "Failed to open NaCl IRT file \""
|
|
|