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

Unified Diff: chromecast/browser/cast_content_window.cc

Issue 1824723003: [chromecast] Pass media task runner to VideoPlaneController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fixed android build Created 4 years, 9 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 | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/graphics/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_content_window.cc
diff --git a/chromecast/browser/cast_content_window.cc b/chromecast/browser/cast_content_window.cc
index a5f63ea1e4248fbb1b3646941ba70a06186f0853..bbd179bd9eeb95d32a0f2d6bac46d1a7a41a8bca 100644
--- a/chromecast/browser/cast_content_window.cc
+++ b/chromecast/browser/cast_content_window.cc
@@ -8,7 +8,6 @@
#include "base/threading/thread_restrictions.h"
#include "chromecast/base/metrics/cast_metrics_helper.h"
#include "chromecast/browser/cast_browser_process.h"
-#include "chromecast/media/base/video_plane_controller.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host.h"
#include "content/public/browser/render_widget_host_view.h"
@@ -79,8 +78,6 @@ void CastContentWindow::CreateWindowTree(
gfx::Screen::SetScreenInstance(cast_screen);
if (cast_screen->GetPrimaryDisplay().size() != initial_size)
cast_screen->UpdateDisplaySize(initial_size);
- media::VideoPlaneController::GetInstance()->SetGraphicsPlaneResolution(
- Size(initial_size.width(), initial_size.height()));
CHECK(aura::Env::GetInstance());
window_tree_host_.reset(
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/graphics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698