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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc
diff --git a/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc b/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc
index ddf8f622e10eb50387f13f46f154a25a0bc5f1bd..2f1b6315263de52d13c2d157e70c2713e0247038 100644
--- a/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc
+++ b/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.cc
@@ -77,10 +77,10 @@ class MonitorFinder : public base::RefCountedThreadSafe<MonitorFinder> {
return;
gfx::NativeView native_view = rfh->GetNativeView();
#if defined(USE_AURA)
- aura::WindowEventDispatcher* dispatcher = native_view->GetDispatcher();
- if (!dispatcher)
+ aura::WindowTreeHost* host = native_view->GetHost();
+ if (!host)
return;
- HWND window = dispatcher->host()->GetAcceleratedWidget();
+ HWND window = host->GetAcceleratedWidget();
#else
HWND window = native_view;
#endif
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698