Skip to content

Commit

Permalink
DRM: fix object_assign function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Aug 5, 2024
1 parent 20d60cf commit d563ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compat/eme/eme-api-implementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import assert from "../../utils/assert";
import globalScope from "../../utils/global_scope";
import isNode from "../../utils/is_node";
import isNullOrUndefined from "../../utils/is_null_or_undefined";
import object_assign from "../../utils/object_assign";
import objectAssign from "../../utils/object_assign";
import type { CancellationSignal } from "../../utils/task_canceller";
import type { IMediaElement } from "../browser_compatibility_types";
import { isIE11 } from "../browser_detection";
Expand Down Expand Up @@ -295,7 +295,7 @@ function createOnEncryptedForWebkit(): IEmeApiImplementation["onEncrypted"] {
compatibleEventListener(
target,
(event?: Event) => {
const patchedEvent = object_assign(
const patchedEvent = objectAssign(
{ forceSessionRecreation: true },
event as MediaEncryptedEvent,
);
Expand Down

0 comments on commit d563ea2

Please sign in to comment.