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

Unified Diff: content/public/test/mock_render_process_host.h

Issue 1407933010: media: Make MediaKeys ref-counted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address timav@'s comments. 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
Index: content/public/test/mock_render_process_host.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index fef3de81ee7d8c99274836a7537fbdba88b5f85e..2ff295c6eb837038283b13cf590624a416bfc271 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -93,8 +93,8 @@ class MockRenderProcessHost : public RenderProcessHost {
void SendUpdateValueState(
unsigned int target, const gpu::ValueState& state) override;
#if defined(ENABLE_BROWSER_CDMS)
- media::BrowserCdm* GetBrowserCdm(int render_frame_id,
- int cdm_id) const override;
+ scoped_refptr<media::MediaKeys> GetCdm(int render_frame_id,
+ int cdm_id) const override;
#endif
// IPC::Sender via RenderProcessHost.

Powered by Google App Engine
This is Rietveld 408576698