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

Unified Diff: ash/display/mirror_window_controller.cc

Issue 634113002: Use solid color layer for delegated surface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mirror_window_controller.cc
diff --git a/ash/display/mirror_window_controller.cc b/ash/display/mirror_window_controller.cc
index 978449e0d5bdda246b34a1779b94f3cd44ed3399..c31291fc4d1f8809a06b5bd3df763bdb31465092 100644
--- a/ash/display/mirror_window_controller.cc
+++ b/ash/display/mirror_window_controller.cc
@@ -113,7 +113,7 @@ void MirrorWindowController::UpdateWindow(const DisplayInfo& display_info) {
// TODO(oshima): Start mirroring.
aura::Window* mirror_window = new aura::Window(NULL);
- mirror_window->Init(aura::WINDOW_LAYER_TEXTURED);
+ mirror_window->Init(aura::WINDOW_LAYER_SOLID_COLOR);
sky 2014/10/10 02:42:57 Why is solid color right here?
host->window()->AddChild(mirror_window);
mirror_window->SetBounds(host->window()->bounds());
mirror_window->Show();
« no previous file with comments | « no previous file | content/browser/compositor/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698