Index: ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc |
diff --git a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc |
index 9d7fa0d60de7cbed781201b3c475c5b2e8233785..d67b99147604412da3e2eba0d920a997045faf90 100644 |
--- a/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc |
+++ b/ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc |
@@ -344,7 +344,7 @@ void PnaclCoordinator::TranslateFinished(int32_t pp_error) { |
// that were delayed (see the delay inserted in BitcodeGotCompiled). |
if (ExpectedProgressKnown()) { |
pexe_bytes_compiled_ = expected_pexe_size_; |
- plugin_->EnqueueProgressEvent(plugin::Plugin::kProgressEventProgress, |
+ plugin_->EnqueueProgressEvent(PP_NACL_EVENT_PROGRESS, |
pexe_url_, |
plugin::Plugin::LENGTH_IS_COMPUTABLE, |
pexe_bytes_compiled_, |
@@ -634,14 +634,14 @@ void PnaclCoordinator::BitcodeGotCompiled(int32_t pp_error, |
// that bytes were sent to the compiler. |
if (ExpectedProgressKnown()) { |
if (!ShouldDelayProgressEvent()) { |
- plugin_->EnqueueProgressEvent(plugin::Plugin::kProgressEventProgress, |
+ plugin_->EnqueueProgressEvent(PP_NACL_EVENT_PROGRESS, |
pexe_url_, |
plugin::Plugin::LENGTH_IS_COMPUTABLE, |
pexe_bytes_compiled_, |
expected_pexe_size_); |
} |
} else { |
- plugin_->EnqueueProgressEvent(plugin::Plugin::kProgressEventProgress, |
+ plugin_->EnqueueProgressEvent(PP_NACL_EVENT_PROGRESS, |
pexe_url_, |
plugin::Plugin::LENGTH_IS_NOT_COMPUTABLE, |
pexe_bytes_compiled_, |