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

Unified Diff: media/blink/webmediaplayer_params.cc

Issue 1409123005: Add methods for telling V8 how much memory audio/video is using. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix html viewer. Created 5 years, 2 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
« no previous file with comments | « media/blink/webmediaplayer_params.h ('k') | media/filters/audio_renderer_algorithm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_params.cc
diff --git a/media/blink/webmediaplayer_params.cc b/media/blink/webmediaplayer_params.cc
index 5d88f8713818f3484f428dc457575d0c6c4c9457..ffe3c1b73bda67a81261c0e9b420945ab78bf2bf 100644
--- a/media/blink/webmediaplayer_params.cc
+++ b/media/blink/webmediaplayer_params.cc
@@ -19,6 +19,7 @@ WebMediaPlayerParams::WebMediaPlayerParams(
const scoped_refptr<base::TaskRunner>& worker_task_runner,
const scoped_refptr<base::SingleThreadTaskRunner>& compositor_task_runner,
const Context3DCB& context_3d_cb,
+ const AdjustAllocatedMemoryCB& adjust_allocated_memory_cb,
MediaPermission* media_permission,
blink::WebContentDecryptionModule* initial_cdm)
: defer_load_cb_(defer_load_cb),
@@ -28,6 +29,7 @@ WebMediaPlayerParams::WebMediaPlayerParams(
worker_task_runner_(worker_task_runner),
compositor_task_runner_(compositor_task_runner),
context_3d_cb_(context_3d_cb),
+ adjust_allocated_memory_cb_(adjust_allocated_memory_cb),
media_permission_(media_permission),
initial_cdm_(initial_cdm) {}
« no previous file with comments | « media/blink/webmediaplayer_params.h ('k') | media/filters/audio_renderer_algorithm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698