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

Unified Diff: media/mojo/services/mojo_cdm_service.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: Created 4 years, 12 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: media/mojo/services/mojo_cdm_service.cc
diff --git a/media/mojo/services/mojo_cdm_service.cc b/media/mojo/services/mojo_cdm_service.cc
index 31781b11e5fc5ec183dcd62c50f86ee04c0d3d5f..4df18ef09c287f2a6b23400efdd22b779490ca6f 100644
--- a/media/mojo/services/mojo_cdm_service.cc
+++ b/media/mojo/services/mojo_cdm_service.cc
@@ -196,7 +196,7 @@ void MojoCdmService::OnCdmCreated(const InitializeCallback& callback,
if (!cdm || !context_) {
cdm_promise_result->success = false;
cdm_promise_result->exception =
- interfaces::CDM_EXCEPTION_NOT_SUPPORTED_ERROR;
+ interfaces::CdmException::NOT_SUPPORTED_ERROR;
cdm_promise_result->system_code = 0;
cdm_promise_result->error_message = error_message;
callback.Run(std::move(cdm_promise_result), 0, nullptr);

Powered by Google App Engine
This is Rietveld 408576698