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

Unified Diff: ash/test/test_metro_viewer_process_host.cc

Issue 22876030: Remove using the Shell desktop Window when we don't have an acceleated widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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: ash/test/test_metro_viewer_process_host.cc
===================================================================
--- ash/test/test_metro_viewer_process_host.cc (revision 217576)
+++ ash/test/test_metro_viewer_process_host.cc (working copy)
@@ -30,13 +30,9 @@
gfx::NativeViewId target_surface) {
DLOG(INFO) << __FUNCTION__ << ", target_surface = " << target_surface;
HWND hwnd = reinterpret_cast<HWND>(target_surface);
+ aura::RemoteRootWindowHostWin::Instance()->Connected(this, hwnd);
backing_surface_.reset(new AcceleratedSurface(hwnd));
cpu_(ooo_6.6-7.5) 2013/08/25 23:35:17 note that here I switched the order (see lines 34
-
- scoped_refptr<AcceleratedPresenter> any_window =
- AcceleratedPresenter::GetForWindow(NULL);
- any_window->SetNewTargetWindow(hwnd);
- aura::RemoteRootWindowHostWin::Instance()->Connected(this);
}
void TestMetroViewerProcessHost::OnOpenURL(const string16& url) {

Powered by Google App Engine
This is Rietveld 408576698